/* Import modern font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Variables for consistent theming */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --success-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    /* height: 100vh; */
    /* max-height: 100vh; */
    /* overflow: hidden; */
    background: #1a1717;
}

/* Login Section - Enhanced for NO SCROLL */
.login-section {
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

/* Container improvements for mobile */
.login-section .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-section .row {
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-section .col-md-5,
.login-section .col-lg-4 {
    padding: 0;
    width: 100%;
    max-width: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Login Card - Better mobile sizing NO SCROLL */
.login-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    max-height: 95vh;
    position: relative;
    animation: slideUp 0.6s ease-out;
    margin: auto;
    display: flex;
    flex-direction: column;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Login Header */
.login-header {
    text-align: center;
    padding: 1.5rem 2rem 0.5rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.login-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.login-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: #ffc106;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.login-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 2;
}

.login-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

/* Login Body */
.login-body {
    padding: 1rem 2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    max-height: calc(95vh - 200px);
}

.login-description {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Google Login Button */
.google-login-btn {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: #ffc106;
    color: rgb(0, 0, 0);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
}

.google-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.btn-content i {
    font-size: 1.1rem;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.google-login-btn:hover .btn-shine {
    left: 100%;
}

/* Login Features */
.login-features {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
}

.feature-item i {
    font-size: 1rem;
    color: var(--primary-color);
    padding: 0.4rem;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Shapes */
.bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, var(--secondary-color), var(--success-color));
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Admin Login Styles - NO SCROLL */
.admin-login-section {
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.admin-login-section .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-section .row {
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.admin-login-section .col-md-5,
.admin-login-section .col-lg-4 {
    padding: 0;
    width: 100%;
    max-width: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Admin Login Card */
.admin-login-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    max-height: 95vh;
    position: relative;
    animation: slideUp 0.6s ease-out;
    margin: auto;
    display: flex;
    flex-direction: column;
}

/* Admin Login Header */
.admin-login-header {
    text-align: center;
    padding: 1.5rem 2rem 0.5rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.admin-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: #ffc106;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    animation: pulse 2s infinite;
}

.admin-logo i {
    font-size: 2rem;
    color: black;
}

.admin-login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 2;
}

.admin-login-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

/* Admin Login Body */
.admin-login-body {
    padding: 1rem 2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: calc(95vh - 200px);
}

/* Form Styles */
.admin-login-form {
    width: 100%;
    flex: 1;
}

.form-group {
    margin-bottom: 1rem;
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.form-label i {
    font-size: 0.8rem;
    color: var(--primary-color);
}

/* Input Container */
.input-container {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Input Focus Line */
.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.form-input:focus + .input-focus-line {
    width: 100%;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #ffc106;
}

/* Custom Checkbox */
.remember-group {
    margin-bottom: 1.5rem;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.custom-checkbox input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-right: 0.65rem;
    position: relative;
    transition: all 0.3s ease;
}

.custom-checkbox input:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-checkbox input:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 11px;
    font-weight: bold;
}

/* Admin Login Button */
.admin-login-btn {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: #ffc106;
    color: black;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.admin-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.admin-login-btn:active {
    transform: translateY(0);
}

.admin-login-btn .btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    position: relative;
    z-index: 2;
}

.admin-login-btn .btn-content i {
    font-size: 1rem;
}

.admin-login-btn:hover .btn-shine {
    left: 100%;
}

/* Error Messages */
.error-message {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.4rem;
}

.error-message i {
    font-size: 0.75rem;
}

/* Forgot Password */
.forgot-password {
    text-align: center;
    margin-top: 1rem;
}

.forgot-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.forgot-link i {
    font-size: 0.75rem;
}

/* Security Features */
.security-features {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.security-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.65rem;
}

.security-item i {
    font-size: 1rem;
    color: var(--primary-color);
    padding: 0.4rem;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Admin Background Shapes */
.admin-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.admin-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 8s ease-in-out infinite;
}

.admin-shape-1 {
    width: 180px;
    height: 180px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.admin-shape-2 {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--secondary-color), var(--success-color));
    top: 65%;
    right: 15%;
    animation-delay: 3s;
}

.admin-shape-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    bottom: 25%;
    left: 25%;
    animation-delay: 6s;
}

/* Enhanced Responsive Design - NO SCROLL */

/* Tablets and small laptops */
@media (max-width: 992px) {
    .login-section, .admin-login-section {
        padding: 0.75rem;
    }
    
    .login-card, .admin-login-card {
        max-width: 380px;
        max-height: 96vh;
    }
}

/* Tablets */
@media (max-width: 768px) {
    html, body {
        /* height: 100vh; */
        /* max-height: 100vh; */
        /* overflow: hidden; */
    }
    
    .login-section, .admin-login-section {
        padding: 0.5rem;
        height: 100vh;
        max-height: 100vh;
    }
    
    .login-card, .admin-login-card {
        margin: 0;
        max-width: 360px;
        width: 100%;
        max-height: 97vh;
    }
    
    .login-header, .admin-login-header {
        padding: 1rem 1.5rem 0.5rem;
    }
    
    .login-body, .admin-login-body {
        padding: 0.75rem 1.5rem 1rem;
        max-height: calc(97vh - 150px);
    }
    
    .login-title, .admin-login-title {
        font-size: 1.3rem;
    }
    
    .login-subtitle, .admin-login-subtitle {
        font-size: 0.8rem;
    }
    
    .login-logo, .admin-logo {
        width: 70px;
        height: 70px;
        margin-bottom: 0.75rem;
    }
    
    .admin-logo i {
        font-size: 1.8rem;
    }
    
    .login-features, .security-features {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }
    
    .feature-item, .security-item {
        font-size: 0.6rem;
    }
    
    .feature-item i, .security-item i {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.9rem;
    }
    
    .form-group {
        margin-bottom: 0.8rem;
    }
    
    .form-input {
        padding: 0.65rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .google-login-btn, .admin-login-btn {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    .login-section, .admin-login-section {
        padding: 0.25rem;
        height: 100vh;
        max-height: 100vh;
    }
    
    .login-card, .admin-login-card {
        max-width: 100%;
        width: calc(100% - 0.5rem);
        margin: 0.25rem;
        max-height: 98vh;
    }
    
    .login-header, .admin-login-header {
        padding: 0.75rem 1rem 0.25rem;
    }
    
    .login-body, .admin-login-body {
        padding: 0.5rem 1rem 0.75rem;
        max-height: calc(98vh - 120px);
    }
    
    .login-logo, .admin-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 0.5rem;
    }
    
    .login-logo img {
        width: 40px;
        height: 40px;
    }
    
    .admin-logo i {
        font-size: 1.5rem;
    }
    
    .login-title, .admin-login-title {
        font-size: 1.1rem;
        line-height: 1.2;
        margin-bottom: 0.1rem;
    }
    
    .login-subtitle, .admin-login-subtitle {
        font-size: 0.75rem;
    }
    
    .login-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .google-login-btn, .admin-login-btn {
        padding: 0.6rem 0.85rem;
        font-size: 0.8rem;
    }
    
    .btn-content {
        gap: 0.4rem;
    }
    
    .btn-content i, .admin-login-btn .btn-content i {
        font-size: 0.9rem;
    }
    
    .login-features, .security-features {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
    
    .feature-item, .security-item {
        flex: 1;
        min-width: calc(33.333% - 0.3rem);
        font-size: 0.55rem;
    }
    
    .feature-item i, .security-item i {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.8rem;
        padding: 0.25rem;
    }
    
    .form-group {
        margin-bottom: 0.6rem;
    }
    
    .form-label {
        font-size: 0.75rem;
        margin-bottom: 0.3rem;
    }
    
    .form-input {
        padding: 0.55rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .remember-group {
        margin-bottom: 1rem;
    }
    
    .custom-checkbox {
        font-size: 0.75rem;
    }
    
    .checkmark {
        width: 16px;
        height: 16px;
        margin-right: 0.5rem;
    }
    
    .forgot-password {
        margin-top: 0.75rem;
    }
    
    .forgot-link {
        font-size: 0.75rem;
    }
    
    /* Hide background shapes on small screens */
    .bg-shapes, .admin-bg-shapes {
        display: none;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .login-section, .admin-login-section {
        padding: 0.1rem;
    }
    
    .login-card, .admin-login-card {
        width: calc(100% - 0.2rem);
        margin: 0.1rem;
        max-height: 99vh;
        border-radius: 0.5rem;
    }
    
    .login-header, .admin-login-header {
        padding: 0.5rem 0.75rem 0.2rem;
    }
    
    .login-body, .admin-login-body {
        padding: 0.4rem 0.75rem 0.5rem;
        max-height: calc(99vh - 100px);
    }
    
    .login-logo, .admin-logo {
        width: 50px;
        height: 50px;
        margin-bottom: 0.4rem;
    }
    
    .login-logo img {
        width: 35px;
        height: 35px;
    }
    
    .admin-logo i {
        font-size: 1.3rem;
    }
    
    .login-title, .admin-login-title {
        font-size: 1rem;
    }
    
    .login-subtitle, .admin-login-subtitle {
        font-size: 0.7rem;
    }
    
    .login-description {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }
    
    .google-login-btn, .admin-login-btn {
        padding: 0.5rem 0.7rem;
        font-size: 0.75rem;
    }
    
    .form-input {
        padding: 0.5rem 0.7rem;
        font-size: 0.75rem;
    }
    
    .login-features, .security-features {
        margin-top: 0.4rem;
        padding-top: 0.4rem;
    }
    
    .feature-item, .security-item {
        font-size: 0.5rem;
    }
    
    .feature-item i, .security-item i {
        width: 1.3rem;
        height: 1.3rem;
        font-size: 0.7rem;
    }
}

/* Landscape orientation on mobile - NO SCROLL */
@media (max-width: 768px) and (orientation: landscape) {
    .login-section, .admin-login-section {
        padding: 0.25rem;
        height: 100vh;
        max-height: 100vh;
    }
    
    .login-card, .admin-login-card {
        max-width: 85%;
        width: 85%;
        max-height: 98vh;
    }
    
    .login-header, .admin-login-header {
        padding: 0.5rem 1.5rem 0.25rem;
    }
    
    .login-body, .admin-login-body {
       padding: 0.5rem 1.5rem 0.75rem;
       max-height: calc(98vh - 100px);
   }
   
   .login-logo, .admin-logo {
       width: 60px;
       height: 60px;
       margin-bottom: 0.5rem;
   }
   
   .login-title, .admin-login-title {
       font-size: 1.1rem;
   }
   
   .login-subtitle, .admin-login-subtitle {
       font-size: 0.75rem;
   }
   
   .login-features, .security-features {
       margin-top: 0.5rem;
       padding-top: 0.5rem;
   }
   
   .feature-item, .security-item {
       font-size: 0.6rem;
   }
   
   .form-group {
       margin-bottom: 0.5rem;
   }
   
   .google-login-btn, .admin-login-btn {
       padding: 0.6rem 1rem;
       font-size: 0.8rem;
   }
}

/* Extra wide screens */
@media (min-width: 1200px) {
   .login-card, .admin-login-card {
       max-width: 450px;
   }
   
   .login-title, .admin-login-title {
       font-size: 1.75rem;
   }
   
   .login-logo, .admin-logo {
       width: 90px;
       height: 90px;
   }
   
   .admin-logo i {
       font-size: 2.2rem;
   }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
   :root {
       --text-primary: #f9fafb;
       --text-secondary: #d1d5db;
       --bg-primary: #1f2937;
       --bg-secondary: #111827;
       --border-color: #374151;
   }
   
   body {
       background: #1a1717;
   }
}

/* Accessibility improvements */
.google-login-btn:focus, .admin-login-btn:focus {
   outline: 2px solid var(--primary-color);
   outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
   * {
       animation-duration: 0.01ms !important;
       animation-iteration-count: 1 !important;
       transition-duration: 0.01ms !important;
   }
   
   .login-card, .admin-login-card {
       animation: none;
   }
   
   .login-logo, .admin-logo {
       animation: none;
   }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
   .login-logo img {
       image-rendering: -webkit-optimize-contrast;
       image-rendering: crisp-edges;
   }
}

/* Ensure proper stacking context */
.login-section, .admin-login-section {
   z-index: 1;
}

.login-card, .admin-login-card {
   z-index: 2;
}

/* Fix for iOS Safari viewport issues */
@supports (-webkit-touch-callout: none) {
   .login-section, .admin-login-section {
       height: -webkit-fill-available;
       max-height: -webkit-fill-available;
   }
   
   html, body {
       height: -webkit-fill-available;
       max-height: -webkit-fill-available;
   }
}

/* Prevent scroll on any overflow */
html {
   /* overflow: hidden; */
}

body {
   /* overflow: hidden; */
   position: static;
   width: 100%;
   /* height: 100%; */
}

/* Ensure cards never exceed viewport */
.login-card, .admin-login-card {
   max-height: calc(100vh - 2rem);
   overflow: hidden;
}

.login-body, .admin-login-body {
   overflow-y: auto;
   scrollbar-width: none; /* Firefox */
   -ms-overflow-style: none; /* Internet Explorer 10+ */
}

.login-body::-webkit-scrollbar, .admin-login-body::-webkit-scrollbar {
   display: none; /* WebKit */
}

/* Additional height constraints for admin form */
.admin-login-form {
   display: flex;
   flex-direction: column;
   height: 100%;
   max-height: calc(100vh - 300px);
}

/* Ensure buttons stay at bottom */
.admin-login-body {
   justify-content: space-between;
}

/* Form content wrapper */
.form-content {
   flex: 1;
   overflow-y: auto;
   scrollbar-width: none;
   -ms-overflow-style: none;
}

.form-content::-webkit-scrollbar {
   display: none;
}

/* Ultra-small screens (watches, etc.) */
@media (max-width: 280px) {
   .login-card, .admin-login-card {
       width: 100%;
       margin: 0;
       border-radius: 0;
       max-height: 100vh;
   }
   
   .login-section, .admin-login-section {
       padding: 0;
   }
   
   .login-header, .admin-login-header {
       padding: 0.4rem 0.5rem 0.2rem;
   }
   
   .login-body, .admin-login-body {
       padding: 0.3rem 0.5rem 0.4rem;
   }
   
   .login-logo, .admin-logo {
       width: 40px;
       height: 40px;
       margin-bottom: 0.3rem;
   }
   
   .admin-logo i {
       font-size: 1rem;
   }
   
   .login-title, .admin-login-title {
       font-size: 0.9rem;
   }
   
   .login-subtitle, .admin-login-subtitle {
       font-size: 0.6rem;
   }
   
   .google-login-btn, .admin-login-btn {
       padding: 0.4rem 0.5rem;
       font-size: 0.7rem;
   }
   
   .login-features, .security-features {
       display: none; /* Hide on ultra-small screens */
   }
}

/* Print styles */
@media print {
   .login-section, .admin-login-section,
   .bg-shapes, .admin-bg-shapes {
       display: none;
   }
}

/* Ensure no element can cause scroll */
* {
   max-width: 100%;
   /* max-height: 100vh; */
}

/* Final overflow prevention */
.login-section *, .admin-login-section * {
   overflow-wrap: break-word;
   word-wrap: break-word;
   hyphens: auto;
}


/* Style for the reset form */

/* Password Reset Styles - NO SCROLL */
.password-reset-section {
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.password-reset-section .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-reset-section .row {
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.password-reset-section .col-md-5,
.password-reset-section .col-lg-4 {
    padding: 0;
    width: 100%;
    max-width: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Password Reset Card */
.password-reset-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    max-height: 95vh;
    position: relative;
    animation: slideUp 0.6s ease-out;
    margin: auto;
    display: flex;
    flex-direction: column;
}

/* Password Reset Header */
.password-reset-header {
    text-align: center;
    padding: 1.5rem 2rem 0.5rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.reset-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    animation: pulse 2s infinite;
}

.reset-logo i {
    font-size: 2rem;
    color: white;
}

.reset-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 2;
}

.reset-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

/* Password Reset Body */
.password-reset-body {
    padding: 1rem 2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: calc(95vh - 200px);
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.5rem;
    animation: fadeInSuccess 0.5s ease-out;
}

@keyframes fadeInSuccess {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--success-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.success-content i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Reset Description */
.reset-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Form Styles */
.password-reset-form {
    width: 100%;
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-label i {
    font-size: 0.9rem;
    color: #ffc106;
}

/* Input Container */
.input-container {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
    border-color: #ffc106;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.form-input.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Input Focus Line */
.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.form-input:focus + .input-focus-line {
    width: 100%;
}

/* Reset Button */
.reset-btn {
    display: block;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.reset-btn:active {
    transform: translateY(0);
}

.reset-btn .btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.reset-btn .btn-content i {
    font-size: 1.1rem;
}

.reset-btn .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.reset-btn:hover .btn-shine {
    left: 100%;
}

/* Error Messages */
.error-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.error-message i {
    font-size: 0.8rem;
}

/* Back to Login */
.back-to-login {
    text-align: center;
    margin-top: 1.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
}

.back-link:hover {
    color: var(--secondary-color);
    background: rgba(99, 102, 241, 0.1);
    text-decoration: none;
}

.back-link i {
    font-size: 0.8rem;
}

/* Help Features */
.help-features {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.help-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
}

.help-item i {
    font-size: 1rem;
    color: var(--accent-color);
    padding: 0.4rem;
    background: rgba(236, 72, 153, 0.2);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Reset Background Shapes */
.reset-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.reset-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 8s ease-in-out infinite;
}

.reset-shape-1 {
    width: 180px;
    height: 180px;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.reset-shape-2 {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    top: 65%;
    right: 15%;
    animation-delay: 3s;
}

.reset-shape-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--success-color));
    bottom: 25%;
    left: 25%;
    animation-delay: 6s;
}

/* Enhanced Responsive Design for Password Reset */

/* Tablets */
@media (max-width: 768px) {
    .password-reset-section {
        padding: 0.5rem;
        height: 100vh;
        max-height: 100vh;
    }
    
    .password-reset-card {
        max-width: 400px;
        max-height: 97vh;
    }
    
    .password-reset-header {
        padding: 1rem 1.5rem 0.5rem;
    }
    
    .password-reset-body {
        padding: 0.75rem 1.5rem 1rem;
        max-height: calc(97vh - 150px);
    }
    
    .reset-title {
        font-size: 1.3rem;
    }
    
    .reset-subtitle {
        font-size: 0.8rem;
    }
    
    .reset-logo {
        width: 70px;
        height: 70px;
        margin-bottom: 0.75rem;
    }
    
    .reset-logo i {
        font-size: 1.8rem;
    }
    
    .help-features {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .help-item {
        font-size: 0.65rem;
    }
    
    .help-item i {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.9rem;
    }
    
    .form-input {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .reset-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    .password-reset-section {
        padding: 0.25rem;
        height: 100vh;
        max-height: 100vh;
    }
    
    .password-reset-card {
        max-width: 100%;
        width: calc(100% - 0.5rem);
        margin: 0.25rem;
        max-height: 98vh;
    }
    
    .password-reset-header {
        padding: 0.75rem 1rem 0.25rem;
    }
    
    .password-reset-body {
        padding: 0.5rem 1rem 0.75rem;
        max-height: calc(98vh - 120px);
    }
    
    .reset-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 0.5rem;
    }
    
    .reset-logo i {
        font-size: 1.5rem;
    }
    
    .reset-title {
        font-size: 1.1rem;
        line-height: 1.2;
        margin-bottom: 0.1rem;
    }
    
    .reset-subtitle {
        font-size: 0.75rem;
    }
    
    .reset-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .form-input {
        padding: 0.65rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .reset-btn {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }
    
    .success-message {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .success-content {
        font-size: 0.8rem;
        gap: 0.5rem;
    }
    
    .help-features {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }
    
    .help-item {
        flex: 1;
        min-width: calc(33.333% - 0.3rem);
        font-size: 0.6rem;
    }
    
    .help-item i {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.8rem;
        padding: 0.25rem;
    }
    
    .back-to-login {
        margin-top: 1rem;
    }
    
    .back-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Hide background shapes on small screens */
    .reset-bg-shapes {
        display: none;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .password-reset-section {
        padding: 0.1rem;
    }
    
    .password-reset-card {
        width: calc(100% - 0.2rem);
        margin: 0.1rem;
        max-height: 99vh;
        border-radius: 0.5rem;
    }
    
    .password-reset-header {
        padding: 0.5rem 0.75rem 0.2rem;
    }
    
    .password-reset-body {
        padding: 0.4rem 0.75rem 0.5rem;
        max-height: calc(99vh - 100px);
    }
    
    .reset-logo {
        width: 50px;
        height: 50px;
        margin-bottom: 0.4rem;
    }
    
    .reset-logo i {
        font-size: 1.3rem;
    }
    
    .reset-title {
        font-size: 1rem;
    }
    
    .reset-subtitle {
        font-size: 0.7rem;
    }
    
    .reset-description {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }
    
    .form-input {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .reset-btn {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .help-features {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
    
    .help-item {
        font-size: 0.55rem;
    }
    
    .help-item i {
        width: 1.3rem;
        height: 1.3rem;
        font-size: 0.7rem;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .password-reset-section {
        padding: 0.25rem;
        height: 100vh;
        max-height: 100vh;
    }
    
    .password-reset-card {
        max-width: 85%;
        width: 85%;
        max-height: 98vh;
    }
    
    .password-reset-header {
        padding: 0.5rem 1.5rem 0.25rem;
    }
    
    .password-reset-body {
        padding: 0.5rem 1.5rem 0.75rem;
        max-height: calc(98vh - 100px);
    }
    
    .reset-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 0.5rem;
    }
    
    .reset-title {
        font-size: 1.1rem;
    }
    
    .help-features {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
}

/* Loading state for reset button */
.reset-btn.loading .btn-content {
    opacity: 0.7;
}

.reset-btn.loading .btn-content i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* Styles for reset and confirm new password */

/* Password Confirm Styles - NO SCROLL */
.password-confirm-section {
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.password-confirm-section .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-confirm-section .row {
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.password-confirm-section .col-md-6,
.password-confirm-section .col-lg-5 {
    padding: 0;
    width: 100%;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Password Confirm Card */
.password-confirm-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    max-height: 95vh;
    position: relative;
    animation: slideUp 0.6s ease-out;
    margin: auto;
    display: flex;
    flex-direction: column;
}

/* Password Confirm Header */
.password-confirm-header {
    text-align: center;
    padding: 1.5rem 2rem 0.5rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.confirm-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    /* background: linear-gradient(135deg, var(--success-color), var(--primary-color)); */
     background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    animation: pulse 2s infinite;
}

.confirm-logo i {
    font-size: 2rem;
    color: white;
}

.confirm-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 2;
}

.confirm-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

/* Password Confirm Body */
.password-confirm-body {
    padding: 1rem 2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: calc(95vh - 200px);
}

/* Confirm Description */
.confirm-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Form Styles */
.password-confirm-form {
    width: 100%;
    flex: 1;
}

.form-group {
    margin-bottom: 1.2rem;
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.form-label i {
    font-size: 0.85rem;
    /* color: var(--success-color); */
}

/* Input Container */
.input-container {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 0.8rem 3rem 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
    /* border-color: var(--success-color); */
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Input Focus Line */
.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    /* background: var(--success-color); */
    transition: width 0.3s ease;
}

.form-input:focus + .input-focus-line {
    width: 100%;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.3s ease;
    z-index: 3;
}

.password-toggle:hover {
    /* color: var(--success-color); */
}

/* Password Strength Indicator */
.password-strength {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.strength-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.strength-meter {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-bar {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.strength-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* Strength levels */
.strength-weak {
    background: #ef4444;
    width: 25%;
}

.strength-fair {
    background: #f59e0b;
    width: 50%;
}

.strength-good {
    background: #3b82f6;
    width: 75%;
}

.strength-strong {
    background: var(--success-color);
    width: 100%;
}

/* Confirm Button */
.confirm-btn {
    display: block;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.confirm-btn:active {
    transform: translateY(0);
}

.confirm-btn .btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.confirm-btn .btn-content i {
    font-size: 1.1rem;
}

.confirm-btn .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.confirm-btn:hover .btn-shine {
    left: 100%;
}

/* Error Messages */
.error-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.error-message i {
    font-size: 0.75rem;
}

/* Security Tips */
.security-tips {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.security-tips h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.security-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-tips li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.security-tips li i {
    color: var(--success-color);
    font-size: 0.7rem;
    width: 12px;
}

/* Security Features */
.security-features {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.security-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
}

.security-item i {
    font-size: 1rem;
    color: var(--success-color);
    padding: 0.4rem;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Confirm Background Shapes */
.confirm-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.confirm-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 8s ease-in-out infinite;
}

.confirm-shape-1 {
    width: 180px;
    height: 180px;
    background: linear-gradient(45deg, var(--success-color), var(--primary-color));
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.confirm-shape-2 {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    top: 65%;
    right: 15%;
    animation-delay: 3s;
}

.confirm-shape-3 {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--secondary-color), var(--success-color));
    bottom: 25%;
    left: 25%;
    animation-delay: 6s;
}

/* Enhanced Responsive Design for Password Confirm */

/* Tablets */
@media (max-width: 768px) {
    .password-confirm-section {
        padding: 0.5rem;
        height: 100vh;
        max-height: 100vh;
    }
    
    .password-confirm-card {
        max-width: 450px;
        max-height: 97vh;
    }
    
    .password-confirm-header {
        padding: 1rem 1.5rem 0.5rem;
    }
    
    .password-confirm-body {
        padding: 0.75rem 1.5rem 1rem;
        max-height: calc(97vh - 150px);
    }
    
    .confirm-title {
        font-size: 1.3rem;
    }
    
    .confirm-subtitle {
        font-size: 0.8rem;
    }
    
    .confirm-logo {
        width: 70px;
        height: 70px;
        margin-bottom: 0.75rem;
    }
    
    .confirm-logo i {
        font-size: 1.8rem;
    }
    
    .security-features {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }
    
    .security-item {
        font-size: 0.65rem;
    }
    
    .security-item i {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.9rem;
    }
    
    .form-input {
        padding: 0.7rem 2.5rem 0.7rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .confirm-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    .password-confirm-section {
        padding: 0.25rem;
        height: 100vh;
        max-height: 100vh;
    }
    
    .password-confirm-card {
        max-width: 100%;
        width: calc(100% - 0.5rem);
        margin: 0.25rem;
        max-height: 98vh;
    }
    
    .password-confirm-header {
        padding: 0.75rem 1rem 0.25rem;
    }
    
    .password-confirm-body {
        padding: 0.5rem 1rem 0.75rem;
        max-height: calc(98vh - 120px);
    }
    
    .confirm-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 0.5rem;
    }
    
    .confirm-logo i {
        font-size: 1.5rem;
    }
    
    .confirm-title {
        font-size: 1.1rem;
        line-height: 1.2;
        margin-bottom: 0.1rem;
    }
    
    .confirm-subtitle {
        font-size: 0.75rem;
    }
    
    .confirm-description {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-input {
        padding: 0.6rem 2.2rem 0.6rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .confirm-btn {
        padding: 0.65rem 1rem;
        font-size: 0.85rem;
    }
    
    .password-strength {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .security-tips {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .security-tips h4 {
        font-size: 0.8rem;
    }
    
    .security-tips li {
        font-size: 0.7rem;
    }
    
    .security-features {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }
    
    .security-item {
        flex: 1;
        min-width: calc(33.333% - 0.3rem);
        font-size: 0.6rem;
    }
    
    .security-item i {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.8rem;
        padding: 0.25rem;
    }
    
    /* Hide background shapes on small screens */
    .confirm-bg-shapes {
        display: none;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .password-confirm-section {
        padding: 0.1rem;
    }
    
    .password-confirm-card {
        width: calc(100% - 0.2rem);
        margin: 0.1rem;
        max-height: 99vh;
        border-radius: 0.5rem;
    }
    
    .password-confirm-header {
        padding: 0.5rem 0.75rem 0.2rem;
    }
    
    .password-confirm-body {
        padding: 0.4rem 0.75rem 0.5rem;
        max-height: calc(99vh - 100px);
    }
    
    .confirm-logo {
        width: 50px;
        height: 50px;
        margin-bottom: 0.4rem;
    }
    
    .confirm-logo i {
        font-size: 1.3rem;
    }
    
    .confirm-title {
        font-size: 1rem;
    }
    
    .confirm-subtitle {
        font-size: 0.7rem;
    }
    
    .confirm-description {
        font-size: 0.75rem;
        margin-bottom: 0.8rem;
    }
    
    .form-input {
        padding: 0.5rem 2rem 0.5rem 0.7rem;
        font-size: 0.75rem;
    }
    
    .confirm-btn {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .security-tips {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .security-features {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
    
    .security-item {
        font-size: 0.55rem;
    }
    
    .security-item i {
        width: 1.3rem;
        height: 1.3rem;
        font-size: 0.7rem;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .password-confirm-section {
        padding: 0.25rem;
        height: 100vh;
        max-height: 100vh;
    }
    
    .password-confirm-card {
        max-width: 85%;
        width: 85%;
        max-height: 98vh;
    }
    
    .password-confirm-header {
        padding: 0.5rem 1.5rem 0.25rem;
    }
    
    .password-confirm-body {
        padding: 0.5rem 1.5rem 0.75rem;
        max-height: calc(98vh - 100px);
    }
    
    .confirm-logo {
        width: 60px;
        height: 60px;
        margin-bottom: 0.5rem;
    }
    
    .confirm-title {
        font-size: 1.1rem;
    }
    
    .security-features {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }
    
    .security-tips {
        padding: 0.75rem;
        margin-bottom: 0.75rem;
    }
}

/* Additional styles for password confirmation */
.form-input.password-match {
    border-color: var(--success-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-input.password-mismatch {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Loading state for confirm button */
.confirm-btn.loading .btn-content {
    opacity: 0.7;
}

.confirm-btn.loading .btn-content i {
    animation: spin 1s linear infinite;
}

/* Password tips enhancement */
.security-tips li.completed {
    color: var(--success-color);
}

.security-tips li.completed i {
    color: var(--success-color);
}

/* Focus enhancement for better accessibility */
.form-input:focus {
    transform: scale(1.02);
}

/* Success state for password strength */
.password-strength.strong {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.05);
}

/* Hover effects for interactive elements */
.password-toggle:focus {
    outline: 2px solid var(--success-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Enhanced error message styling */
.password-match-error {
    animation: fadeInError 0.3s ease-out;
}

@keyframes fadeInError {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success animation when passwords match */
.form-input.success {
    animation: successPulse 0.3s ease-out;
}

@keyframes successPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Tablet specific adjustments */
@media (max-width: 768px) {
    .security-tips {
        display: none; /* Hide on tablets to save space */
    }
}

/* Ultra-small screens */
@media (max-width: 280px) {
    .password-strength,
    .security-tips {
        display: none; /* Hide complex elements on very small screens */
    }
    
    .form-input {
        padding: 0.5rem 1.8rem 0.5rem 0.6rem;
    }
    
    .password-toggle {
        right: 0.5rem;
    }
}

/* Print styles */
@media print {
    .password-confirm-section,
    .confirm-bg-shapes {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .password-confirm-card {
        border: 2px solid white;
    }
    
    .form-input {
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
    
    .form-input:focus {
        border: 2px solid var(--success-color);
    }
}

/* Reduced transparency for users who prefer it */
@media (prefers-reduced-transparency: reduce) {
    .password-confirm-card {
        background: #1f2937;
    }
    
    .form-input {
        background: rgba(255, 255, 255, 0.1);
    }
}


/* Dashboard Admin */

/* Dashboard Admin - Fully Responsive & Footer Compatible */

/* Dashboard Styles - Fixed for All Screen Sizes */
.dashboard-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem 0;
    /* Removed problematic flex and min-height properties */
}

/* Dashboard Header */
.dashboard-header {
    margin-bottom: 1.5rem;
}

.header-content {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    color: white;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.header-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.welcome-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.welcome-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.welcome-icon i {
    font-size: 1.5rem;
    color: white;
}

.welcome-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.welcome-subtitle {
    font-size: 0.9rem;
    margin: 0.25rem 0 0 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Status Message */
.status-message {
    margin-top: 1rem;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    position: relative;
    z-index: 2;
}

.status-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Dashboard Content */
.dashboard-content {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

/* Questions Section */
.questions-section {
    padding: 0;
}

.questions-header {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    padding: 1.5rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.questions-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.questions-icon i {
    font-size: 1.25rem;
    color: white;
}

.questions-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.questions-count {
    font-size: 0.8rem;
    margin: 0.25rem 0 0 0;
    color: rgba(255, 255, 255, 0.8);
}

/* Filter Badges */
.filter-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    position: relative;
}

.filter-badge {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.filter-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.filter-badge.all {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-color);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.filter-badge.all.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.filter-badge.pending {
    background: rgba(107, 114, 128, 0.2);
    color: var(--text-secondary);
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.filter-badge.pending.active {
    background: var(--text-secondary);
    color: white;
    border-color: var(--text-secondary);
    box-shadow: 0 0 20px rgba(107, 114, 128, 0.3);
}

.filter-badge.open {
    background: rgba(236, 72, 153, 0.2);
    color: var(--accent-color);
    border: 1px solid rgba(236, 72, 153, 0.3);
}

.filter-badge.open.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.3);
}

.filter-badge.answered {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.filter-badge.answered.active {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.filter-badge.loading {
    opacity: 0.7;
    pointer-events: none;
}

.badge-loading {
    position: absolute;
    top: 50%;
    right: 0.5rem;
    transform: translateY(-50%);
    display: none;
}

.filter-badge.loading .badge-loading {
    display: block;
}

.filter-badge.loading .badge-text {
    margin-right: 1.5rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.header-controls {
    display: flex;
    gap: 0.5rem;
}

.refresh-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.refresh-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.filter-status-bar {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    margin: 0 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.clear-filter-btn {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.clear-filter-btn:hover {
    background: var(--primary-color);
    color: white;
}



/* Questions List - Responsive Heights */
.questions-list {
    padding: 1.5rem;
    /* Dynamic max-height that adapts to screen size */
    max-height: calc(100vh - 400px);
    min-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-secondary);
    position: relative;
    background: #1f2937;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: var(--radius-md);
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.loading-spinner i {
    font-size: 1.5rem;
}

.loading-state {
    opacity: 0.7;
    pointer-events: none;
}

.link-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
}

.link-btn:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .header-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-badges {
        width: 100%;
        justify-content: center;
        gap: 0.4rem;
    }
    
    .filter-badge {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
        flex: 1;
        text-align: center;
        min-width: 0;
    }
    
    .filter-status-bar {
        margin: 0 1rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .filter-badges {
        gap: 0.25rem;
    }
    
    .filter-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
    }
    
    .refresh-btn {
        width: 35px;
        height: 35px;
    }
}

.questions-list::-webkit-scrollbar {
    width: 6px;
}

.questions-list::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

.questions-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

/* Question Card - Responsive Design */
.question-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.question-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.question-header {
    background: var(--bg-secondary);
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.question-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.question-meta {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.participant-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.participant-avatar {
    width: 35px;
    height: 35px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.participant-avatar i {
    font-size: 0.9rem;
}

.participant-details {
    flex: 1;
    min-width: 0; /* Allow text to truncate */
}

.participant-name {
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.question-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.question-status {
    flex-shrink: 0;
}

/* Status Badges - Compact */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.status-pending {
    background: rgba(107, 114, 128, 0.1);
    color: var(--text-secondary);
    border: 1px solid rgba(107, 114, 128, 0.2);
}

.status-pending:hover {
    background: rgba(107, 114, 128, 0.2);
    transform: scale(1.02);
}

.status-open {
    background: rgba(236, 72, 153, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.status-open:hover {
    background: rgba(236, 72, 153, 0.2);
    transform: scale(1.02);
}

.status-answered {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(16, 185, 129, 0.2);
    cursor: default;
}

/* Question Content */
.question-content {
    padding: 1rem;
}

.question-text {
    font-size: 1.3rem;
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0;
    word-wrap: break-word;
}

/* Question Actions */
.question-actions {
    /* padding: 1rem; */
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.empty-icon i {
    font-size: 2rem;
    color: var(--text-secondary);
}

.empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.empty-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design - Progressive Enhancement */

/* Large screens (desktops) */
@media (min-width: 1200px) {
    .questions-list {
        max-height: calc(100vh - 350px);
    }
    
    .welcome-icon {
        width: 80px;
        height: 80px;
    }
    
    .welcome-icon i {
        font-size: 2rem;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .welcome-subtitle {
        font-size: 1.1rem;
    }
}

/* Medium screens (tablets) */
@media (max-width: 992px) {
    .dashboard-section {
        padding: 1rem 0;
    }
    
    .questions-list {
        max-height: calc(100vh - 380px);
        min-height: 250px;
    }
    
    .questions-header {
        padding: 1.25rem;
    }
    
    .filter-badges {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Small tablets */
@media (max-width: 768px) {
    .dashboard-section {
        padding: 0.75rem 0;
    }
    
    .dashboard-header {
        margin-bottom: 1rem;
    }
    
    .header-content {
        padding: 1.25rem;
    }
    
    .welcome-section {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .welcome-icon {
        width: 50px;
        height: 50px;
    }
    
    .welcome-icon i {
        font-size: 1.25rem;
    }
    
    .welcome-title {
        font-size: 1.25rem;
    }
    
    .welcome-subtitle {
        font-size: 0.85rem;
    }
    
    .questions-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
        gap: 1rem;
    }
    
    .header-left {
        width: 100%;
    }
    
    .questions-icon {
        width: 45px;
        height: 45px;
    }
    
    .questions-icon i {
        font-size: 1.1rem;
    }
    
    .questions-title {
        font-size: 1.1rem;
    }
    
    .filter-badges {
        width: 100%;
        justify-content: center;
        gap: 0.4rem;
    }
    
    .filter-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .questions-list {
        padding: 1rem;
        max-height: calc(100vh - 420px);
        min-height: 200px;
    }
    
    .question-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.75rem;
    }
    
    .question-meta {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .question-status {
        align-self: flex-start;
    }
    
    .question-content {
        padding: 0.75rem;
    }
    
    .question-text {
        font-size: 0.9rem;
    }
    
    .question-actions {
        padding: 0.75rem;
    }
    
    .action-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .dashboard-section {
        padding: 0.5rem 0;
    }
    
    .header-content {
        padding: 1rem;
    }
    
    .welcome-title {
        font-size: 1.1rem;
    }
    
    .welcome-subtitle {
        font-size: 0.8rem;
    }
    
    .questions-header {
        padding: 0.75rem;
    }
    
    .questions-title {
        font-size: 1rem;
    }
    
    .filter-badges {
        gap: 0.25rem;
    }
    
    .filter-badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.65rem;
    }
    
    .questions-list {
        padding: 0.75rem;
        max-height: calc(100vh - 450px);
        min-height: 180px;
    }
    
    .question-number {
        width: 35px;
        height: 35px;
        font-size: 0.7rem;
    }
    
    .participant-avatar {
        width: 30px;
        height: 30px;
    }
    
    .participant-avatar i {
        font-size: 0.8rem;
    }
    
    .participant-name {
        font-size: 0.8rem;
    }
    
    .question-time {
        font-size: 0.7rem;
    }
    
    .question-text {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .status-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.65rem;
        gap: 0.3rem;
    }
    
    .action-btn {
        padding: 0.45rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .empty-state {
        padding: 2rem 1rem;
    }
    
    .empty-icon {
        width: 60px;
        height: 60px;
    }
    
    .empty-icon i {
        font-size: 1.5rem;
    }
    
    .empty-title {
        font-size: 1.1rem;
    }
    
    .empty-description {
        font-size: 0.8rem;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .questions-list {
        max-height: calc(100vh - 480px);
        min-height: 150px;
    }
    
    .participant-name {
        max-width: 120px;
    }
    
    .filter-badge {
        flex: 1;
        text-align: center;
        min-width: 0;
    }
}

/* Animation for question cards */
.question-card {
    animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading states */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Ensure footer visibility on all screen sizes */
.dashboard-content {
    position: relative;
    z-index: 1;
}

/* Override any conflicting styles */
.content-wrapper {
    padding-bottom: 0 !important;
}

/* Force proper layout flow */
.dashboard-section {
    display: block !important;
    position: static !important;
}


/* Styles for the ask question page */

.askQuestion-page-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #f1f5f9 100%);
}

/* Ask Question Page Styles */
.askQuestion-page-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: 'Inter', sans-serif;
}

/* Page Header */
.askQuestion-header-section {
    margin-bottom: 3rem;
}

.askQuestion-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.askQuestion-back-link:hover {
    color: var(--primary-color);
    transform: translateX(-4px);
}

.askQuestion-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.askQuestion-main-title i {
    color: var(--primary-color);
}

.askQuestion-main-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Questions Section */
.askQuestion-questions-wrapper {
    margin-bottom: 3rem;
}

.askQuestion-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.askQuestion-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.askQuestion-questions-counter {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    font-weight: 500;
}

.askQuestion-questions-container {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.askQuestion-questions-list {
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.askQuestion-questions-list::-webkit-scrollbar {
    width: 6px;
}

.askQuestion-questions-list::-webkit-scrollbar-track {
    background: transparent;
}

.askQuestion-questions-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.askQuestion-question-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    animation: askQuestion-slideInUp 0.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.askQuestion-question-item:last-child {
    border-bottom: none;
}

.askQuestion-question-item:hover {
    background: var(--bg-secondary);
}

.askQuestion-question-content {
    flex: 1;
    margin-right: 1rem;
}

.askQuestion-question-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.askQuestion-question-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.askQuestion-question-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.askQuestion-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 500;
}

.askQuestion-status-badge.askQuestion-pending {
    background: #fef3c7;
    color: #d97706;
}

.askQuestion-status-badge.askQuestion-answered {
    background: #d1fae5;
    color: #059669;
}

.askQuestion-question-actions {
    display: flex;
    gap: 0.5rem;
}

.askQuestion-action-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.askQuestion-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.askQuestion-delete-btn:hover {
    background: #fee2e2;
    color: #dc2626;
    border-color: #fca5a5;
}

.askQuestion-view-btn:hover {
    background: #eff6ff;
    color: var(--primary-color);
    border-color: #bfdbfe;
}

/* Empty State */
.askQuestion-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.askQuestion-empty-icon {
    font-size: 4rem;
    color: var(--border-color);
    margin-bottom: 1.5rem;
}

.askQuestion-empty-state h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Ask Section */
.askQuestion-ask-wrapper {
    margin-top: 2rem;
}

.askQuestion-ask-card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.askQuestion-ask-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.askQuestion-ask-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.askQuestion-ask-subtitle {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.askQuestion-ask-form {
    padding: 2rem;
}

.askQuestion-form-group {
    margin-bottom: 1.5rem;
}

.askQuestion-form-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.askQuestion-textarea-container {
    position: relative;
}

.askQuestion-form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
}

.askQuestion-form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.askQuestion-character-count {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: var(--bg-primary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.askQuestion-form-actions {
    display: flex;
    justify-content: flex-end;
}

.askQuestion-submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.askQuestion-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.askQuestion-btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.askQuestion-submit-btn:hover .askQuestion-btn-shimmer {
    left: 100%;
}

/* Animations */
@keyframes askQuestion-slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .askQuestion-page-wrapper {
        padding: 1rem 0.5rem;
    }
    
    .askQuestion-main-title {
        font-size: 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .askQuestion-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .askQuestion-question-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .askQuestion-question-actions {
        align-self: flex-end;
    }
    
    .askQuestion-question-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .askQuestion-ask-header {
        padding: 1.5rem;
    }
    
    .askQuestion-ask-form {
        padding: 1.5rem;
    }
    
    .askQuestion-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* SweetAlert Custom Styles */
.askQuestion-swal-popup {
    border-radius: var(--radius-xl) !important;
    box-shadow: var(--shadow-xl) !important;
}

.askQuestion-swal-title {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
}

.askQuestion-swal-content {
    font-family: 'Inter', sans-serif !important;
}

/* Loading state for submit button */
.askQuestion-submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.askQuestion-submit-btn.loading .askQuestion-btn-shimmer {
    left: 100%;
}


/* Display Question */

/* Question Display Presentation Styles */
.questionDisplay-presentation-container {
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: hidden;
    position: relative;
}

.questionDisplay-presentation-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

/* Header Bar */
.questionDisplay-header-bar {
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 10;
    position: relative;
}

.questionDisplay-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.questionDisplay-logo i {
    color: #6366f1;
    font-size: 2rem;
}

.questionDisplay-live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #dc2626;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.questionDisplay-live-dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: questionDisplay-pulse 2s infinite;
}

@keyframes questionDisplay-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.questionDisplay-stats {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.questionDisplay-stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.questionDisplay-stat-item i {
    color: #6366f1;
}

/* Main Content */
.questionDisplay-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}

.questionDisplay-current-question {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    position: relative;
}

.questionDisplay-question-counter {
    position: absolute;
    top: -3rem;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.questionDisplay-question-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    padding: 4rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.questionDisplay-question-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899);
}

.questionDisplay-question-text {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    margin-bottom: 3rem;
    transition: opacity 0.3s ease;
}

.questionDisplay-question-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    transition: opacity 0.3s ease;
}

.questionDisplay-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.questionDisplay-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.questionDisplay-author-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
}

.questionDisplay-timestamp {
    color: #6b7280;
    font-size: 1rem;
}

.questionDisplay-status-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1rem;
}

.questionDisplay-status-badge.questionDisplay-answered {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.questionDisplay-status-badge.questionDisplay-pending {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

/* Navigation */
.questionDisplay-navigation {
    position: absolute;
    bottom: 8rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    border-radius: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.questionDisplay-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.questionDisplay-nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.questionDisplay-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.questionDisplay-slide-indicators {
    display: flex;
    gap: 0.5rem;
}

.questionDisplay-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.questionDisplay-indicator.active {
    background: white;
    transform: scale(1.3);
}

.questionDisplay-indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Controls */
.questionDisplay-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.questionDisplay-control-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    font-weight: 500;
}

.questionDisplay-control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.questionDisplay-control-btn.active {
    background: rgba(16, 185, 129, 0.8);
    border-color: rgba(16, 185, 129, 0.5);
}

/* Empty State */
.questionDisplay-empty-state {
    text-align: center;
    color: white;
    max-width: 600px;
}

.questionDisplay-empty-icon {
    font-size: 8rem;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.questionDisplay-empty-state h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.questionDisplay-empty-state p {
    font-size: 1.5rem;
    opacity: 0.8;
    margin-bottom: 3rem;
}

.questionDisplay-loading-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.questionDisplay-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    animation: questionDisplay-bounce 1.4s infinite ease-in-out both;
}

.questionDisplay-dot:nth-child(1) { animation-delay: -0.32s; }
.questionDisplay-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes questionDisplay-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .questionDisplay-header-bar {
        padding: 0 1rem;
        height: 60px;
    }
    
    .questionDisplay-logo {
        font-size: 1.2rem;
    }
    
    .questionDisplay-stats {
        gap: 1rem;
    }
    
    .questionDisplay-question-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .questionDisplay-question-text {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .questionDisplay-question-meta {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .questionDisplay-navigation {
        bottom: 6rem;
        padding: 0.75rem 1.5rem;
        gap: 1rem;
    }
    
    .questionDisplay-controls {
        flex-direction: column;
        align-items: center;
    }
}

/* Fullscreen adjustments */
.questionDisplay-presentation-container:fullscreen {
    background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
}