/* Modern Login Screen */
.login-screen {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="loginGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23loginGrid)"/></svg>');
    opacity: 0.3;
}

.login-container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
    animation: loginSlideUp 0.8s ease;
}

@keyframes loginSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

.donate-btn {
    display: inline-block;
    padding: 0.5rem 4rem;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.donate-btn:hover {
    background: linear-gradient(135deg, #ff5252, #ff7979);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.donate-btn i {
    margin-right: 0.5rem;
}

.mobile-donate-container {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
}

.mobile-donate-container .donate-btn {
    position: static;
    transform: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.login-logo i {
    font-size: 3.5rem;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: loginPulse 2s infinite;
}

@keyframes loginPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.login-logo h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    margin: 0;
    letter-spacing: -0.02em;
}

.login-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-form .form-group {
    margin-bottom: 0;
}

.login-form label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: white;
    font-size: 0.95rem;
}

.login-form .form-input,
.login-form .form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.login-form .form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.login-form .form-input:focus,
.login-form .form-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Fix dropdown option visibility - dark text on white background */
.login-form .form-select option {
    background: white;
    color: #333;
    padding: 0.5rem;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.login-footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Email Verification Banner */
.verification-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #f59e0b;
    color: #1a1a2e;
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.verification-banner a {
    color: #1a1a2e;
    font-weight: 700;
    text-decoration: underline;
}

.verification-banner-close {
    background: none;
    border: none;
    color: #1a1a2e;
    cursor: pointer;
    padding: 0.25rem;
    margin-left: 0.5rem;
    font-size: 1rem;
    opacity: 0.7;
}

.verification-banner-close:hover {
    opacity: 1;
}

/* Mobile Login Styles */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline-block;
    }

    .login-screen {
        padding: 1rem;
    }

    .login-container {
        padding: 2rem 1.5rem;
        border-radius: 20px;
        max-width: 100%;
    }

    .login-logo h1 {
        font-size: 2rem;
    }

    .login-logo i {
        font-size: 2.5rem;
    }

    .login-header p {
        font-size: 1rem;
    }

    .login-form .form-input,
    .login-form .form-select {
        padding: 0.875rem 1rem;
        border-radius: 12px;
    }

    .btn-full {
        padding: 0.875rem 1.25rem;
        border-radius: 12px;
    }
}

@keyframes loginFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.login-screen::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 15%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: loginFloat 8s ease-in-out infinite reverse;
}
