* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.9) 50%, rgba(15, 23, 42, 0.95) 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Animated background particles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(78,205,196,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(102,126,234,0.15)"/><circle cx="40" cy="80" r="1.5" fill="rgba(78,205,196,0.1)"/><circle cx="90" cy="90" r="1" fill="rgba(118,75,162,0.2)"/><circle cx="10" cy="60" r="1" fill="rgba(78,205,196,0.1)"/></svg>');
    animation: float 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.container {
    position: relative;
    width: 100%;
    max-width: 450px;
    z-index: 2;
}

.login-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(51, 65, 85, 0.6));
    backdrop-filter: blur(25px);
    border-radius: 35px 10px 35px 10px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.15),
                0 0 0 1px rgba(78, 205, 196, 0.4);
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(78, 205, 196, 0.3);
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #4ecdc4);
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.logo-section {
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 3px solid rgba(78, 205, 196, 0.4);
    object-fit: contain;
}

.logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(78, 205, 196, 0.6);
}

.logo-small {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    border-radius: 12px;
    object-fit: contain;
    border: 2px solid rgba(78, 205, 196, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

h1 {
    background: linear-gradient(135deg, #4ecdc4, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
    font-size: 32px;
    font-weight: 800;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    animation: textGlow 2s ease-in-out infinite alternate;
    letter-spacing: -0.5px;
}

@keyframes textGlow {
    from { filter: drop-shadow(0 0 8px rgba(78, 205, 196, 0.4)); }
    to { filter: drop-shadow(0 0 20px rgba(78, 205, 196, 0.7)); }
}

h2 {
    color: #e2e8f0;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    letter-spacing: -0.3px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #4ecdc4, #667eea);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
}

p {
    color: #cbd5e1;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.auth-form {
    text-align: center;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #f1f5f9;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(78, 205, 196, 0.2);
    border-radius: 15px;
    font-size: 16px;
    transition: all 0.4s ease;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    color: #e2e8f0;
    font-weight: 500;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder {
    color: #94a3b8;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #4ecdc4;
    box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.15),
                0 0 20px rgba(78, 205, 196, 0.3);
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-2px);
}

/* Real-time validation states */
input.input-success {
    border-color: #34d399 !important;
    box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15),
                0 0 15px rgba(52, 211, 153, 0.3) !important;
    background: rgba(15, 23, 42, 0.9) !important;
    animation: successPulse 0.6s ease-out;
}

input.input-warning {
    border-color: #fbbf24 !important;
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.15),
                0 0 10px rgba(251, 191, 36, 0.2) !important;
    background: rgba(15, 23, 42, 0.9) !important;
}

input.input-error {
    border-color: #f87171 !important;
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.15),
                0 0 15px rgba(248, 113, 113, 0.3) !important;
    background: rgba(15, 23, 42, 0.9) !important;
    animation: errorShake 0.5s ease-out;
}

input.input-incomplete {
    border-color: #94a3b8 !important;
    box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.1) !important;
    background: rgba(15, 23, 42, 0.9) !important;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Fix autofill styling */
input[type="text"]:-webkit-autofill,
input[type="email"]:-webkit-autofill,
input[type="password"]:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px rgba(15, 23, 42, 0.7) inset !important;
    -webkit-text-fill-color: #e2e8f0 !important;
    border: 2px solid rgba(78, 205, 196, 0.2) !important;
    border-radius: 15px !important;
    transition: background-color 5000s ease-in-out 0s;
}

input[type="text"]:-webkit-autofill:focus,
input[type="email"]:-webkit-autofill:focus,
input[type="password"]:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgba(15, 23, 42, 0.9) inset !important;
    -webkit-text-fill-color: #e2e8f0 !important;
    border-color: #4ecdc4 !important;
    box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.15),
                0 0 20px rgba(78, 205, 196, 0.3),
                0 0 0 1000px rgba(15, 23, 42, 0.9) inset !important;
}

/* Firefox autofill */
input[type="text"]:-moz-autofill,
input[type="email"]:-moz-autofill,
input[type="password"]:-moz-autofill {
    background-color: rgba(15, 23, 42, 0.7) !important;
    color: #e2e8f0 !important;
}

.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container input {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.password-toggle:hover {
    background: rgba(78, 205, 196, 0.1);
    transform: scale(1.1);
}

.eye-icon {
    width: 18px;
    height: 18px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.eye-icon .eye-open,
.eye-icon .eye-pupil {
    stroke: #94a3b8;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eye-icon .eye-closed,
.eye-icon .eye-slash {
    stroke: #94a3b8;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.password-toggle:hover .eye-icon {
    opacity: 1;
}

.password-toggle:hover .eye-icon .eye-open,
.password-toggle:hover .eye-icon .eye-pupil,
.password-toggle:hover .eye-icon .eye-closed,
.password-toggle:hover .eye-icon .eye-slash {
    stroke: #4ecdc4;
}

.btn {
    width: 100%;
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, #4ecdc4 0%, #667eea 50%, #764ba2 100%);
    color: #0f172a;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(78, 205, 196, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(78, 205, 196, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #5fd4cd 0%, #7c8aed 50%, #8b5fbf 100%);
}

.btn-primary::before {
    content: '';
    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;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    margin-top: 10px;
    margin-left: 10px;
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(108, 117, 125, 0.4);
}

.qr-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 242, 245, 0.9));
    padding: 20px;
    border-radius: 15px;
    margin: 20px auto;
    border: 2px solid rgba(102, 126, 234, 0.1);
    animation: pulseGlow 2s ease-in-out infinite alternate;
    text-align: center;
    max-width: 300px;
}

@keyframes pulseGlow {
    from { box-shadow: 0 0 5px rgba(102, 126, 234, 0.2); }
    to { box-shadow: 0 0 20px rgba(102, 126, 234, 0.4); }
}

#qrCanvas {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.secret-key-container {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 15px;
    border-radius: 12px;
    border: 2px solid rgba(102, 126, 234, 0.1);
    margin: 10px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.secret-key-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.secret-key-container span {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.mfa-timing-help {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.7));
    padding: 20px;
    border-radius: 15px;
    margin-top: 20px;
    border: 2px solid rgba(78, 205, 196, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    animation: bounce 2s ease-in-out infinite;
    color: #e2e8f0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.totp-timer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.timer-circle {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timer-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.timer-bg {
    fill: none;
    stroke: rgba(78, 205, 196, 0.1);
    stroke-width: 2.5;
}

.timer-progress {
    fill: none;
    stroke: #4ecdc4;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 100, 100;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1s linear;
    filter: drop-shadow(0 0 8px rgba(78, 205, 196, 0.5));
}

.timer-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.timer-seconds {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #4ecdc4;
    text-shadow: 0 0 10px rgba(78, 205, 196, 0.3);
}

.timer-label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: #94a3b8;
    margin-top: -2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timer-info {
    text-align: center;
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.4;
}

/* Timer warning state */
.timer-warning .timer-progress {
    stroke: #f59e0b;
    animation: pulse 1s ease-in-out infinite;
}

.timer-warning .timer-seconds {
    color: #f59e0b;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

/* Timer danger state */
.timer-danger .timer-progress {
    stroke: #ef4444;
    animation: pulse 0.5s ease-in-out infinite;
}

.timer-danger .timer-seconds {
    color: #ef4444;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.dashboard {
    text-align: left;
    animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
}

.dashboard-header h2 {
    margin: 0;
    flex-grow: 1;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dashboard-content {
    display: grid;
    gap: 20px;
}

.card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(51, 65, 85, 0.6));
    backdrop-filter: blur(20px);
    padding: 25px;
    border-radius: 20px 8px 20px 8px;
    border: 2px solid rgba(78, 205, 196, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(78, 205, 196, 0.5);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4ecdc4, #667eea, #764ba2);
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite;
}

.card h3 {
    color: #f1f5f9;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 700;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.2px;
}

.card p {
    margin-bottom: 10px;
    color: #cbd5e1;
    line-height: 1.6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
}

.status-enabled {
    color: #28a745;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(40, 167, 69, 0.3);
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    color: white;
    font-size: 18px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
}

.message {
    padding: 18px 25px;
    border-radius: 15px 6px 15px 6px;
    margin-bottom: 12px;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    animation: slideInRight 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), fadeOut 0.5s ease 4.5s forwards;
    max-width: 380px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(78, 205, 196, 0.2);
    position: relative;
    overflow: hidden;
}

.message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #4ecdc4, #667eea, #764ba2);
    background-size: 200% 200%;
    animation: gradientMove 3s ease infinite;
}

@keyframes slideInRight {
    0% {
        transform: translateX(120%) scale(0.8);
        opacity: 0;
    }
    60% {
        transform: translateX(-10%) scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.message.success {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(51, 65, 85, 0.9));
    color: #34d399;
    border: 2px solid rgba(52, 211, 153, 0.4);
    text-shadow: 0 0 8px rgba(52, 211, 153, 0.3);
}

.message.success::before {
    background: linear-gradient(90deg, #34d399, #10b981, #059669);
}

.message.error {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(51, 65, 85, 0.9));
    color: #f87171;
    border: 2px solid rgba(248, 113, 113, 0.4);
    text-shadow: 0 0 8px rgba(248, 113, 113, 0.3);
}

.message.error::before {
    background: linear-gradient(90deg, #f87171, #ef4444, #dc2626);
}

.message.info {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(51, 65, 85, 0.9));
    color: #4ecdc4;
    border: 2px solid rgba(78, 205, 196, 0.4);
    text-shadow: 0 0 8px rgba(78, 205, 196, 0.3);
}

.message.info::before {
    background: linear-gradient(90deg, #4ecdc4, #06b6d4, #0891b2);
}

.message.warning {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(51, 65, 85, 0.9));
    color: #fbbf24;
    border: 2px solid rgba(251, 191, 36, 0.4);
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
}

.message.warning::before {
    background: linear-gradient(90deg, #fbbf24, #f59e0b, #d97706);
}

/* Authentication form styles */
.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: #94a3b8;
    font-weight: 500;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.link-btn {
    background: none;
    border: none;
    color: #4ecdc4;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
    margin: 0 0 0 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.link-btn:hover {
    color: #5fd4cd;
    text-shadow: 0 0 8px rgba(78, 205, 196, 0.4);
    transform: translateY(-1px);
}

.email-display {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.8));
    padding: 15px 20px;
    border-radius: 12px;
    border: 2px solid rgba(78, 205, 196, 0.3);
    text-align: center;
    margin: 15px 0;
    font-weight: 600;
    color: #e2e8f0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.form-group small {
    display: block;
    color: #94a3b8;
    font-size: 0.85em;
    margin-top: 6px;
    font-style: italic;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.4;
}

.debug-info {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    padding: 15px;
    border-radius: 12px;
    margin-top: 15px;
    border: 1px solid rgba(78, 205, 196, 0.2);
    font-size: 12px;
    color: #cbd5e1;
    font-family: 'Courier New', monospace;
    animation: debugPulse 2s ease-in-out infinite alternate;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

@keyframes debugPulse {
    from { background: rgba(15, 23, 42, 0.95); }
    to { background: rgba(30, 41, 59, 0.9); }
}

/* Responsive design */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    .login-card {
        padding: 30px 20px;
        margin: 10px;
    }

    .logo {
        width: 100px;
        height: 100px;
    }

    h1 {
        font-size: 24px;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .dashboard-header h2 {
        margin-bottom: 15px;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }

    .message {
        margin: 5px;
        max-width: calc(100vw - 40px);
    }
}