/* Login Page Specific Styles */
.login-body {
    background-image: url('https://dev-birthday.s3.ap-south-1.amazonaws.com/IMG_6875.jpeg');
    background-size: cover;
    background-position: center 60%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.login-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
    pointer-events: none;
}

.login-container {
    width: 100%;
    max-width: 500px;
    z-index: 10;
}

.login-card {
    background: rgba(20, 20, 20, 0.5);
    border: 1px solid rgba(184, 134, 11, 0.5);
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(184, 134, 11, 0.03) 50%, transparent 70%);
    pointer-events: none;
}

.login-header {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.login-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(184, 134, 11, 0.4);
}

.login-subtitle {
    font-size: 1.125rem;
    color: rgba(184, 134, 11, 0.9);
    font-weight: 300;
    line-height: 1.5;
    max-width: 400px;
    margin: 0 auto;
    font-family: 'Playfair Display', serif;
}

.login-form {
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 18px;
    text-align: left;
}

.form-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
    font-family: 'Inter', sans-serif;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(184, 134, 11, 0.4);
    border-radius: 20px;
    font-size: 1rem;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: rgba(184, 134, 11, 0.7);
    box-shadow: 0 0 20px rgba(184, 134, 11, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
    border-radius: 20px;
}

.recaptcha-container {
    margin: 32px 0;
    display: flex;
    justify-content: center;
}

.g-recaptcha {
    transform: scale(0.9);
    transform-origin: center;
}

.recaptcha-note {
    font-size: 0.8rem;
    color: rgba(184, 134, 11, 0.6);
    margin-top: 8px;
    font-style: italic;
    font-family: 'Inter', sans-serif;
}

.login-btn {
    width: 100%;
    padding: 14px 28px;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.9) 0%, rgba(184, 134, 11, 0.7) 100%);
    border: 1px solid rgba(184, 134, 11, 0.5);
    border-radius: 25px;
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.02em;
}

.login-btn:hover {
    background: linear-gradient(135deg, rgba(184, 134, 11, 1) 0%, rgba(184, 134, 11, 0.8) 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(184, 134, 11, 0.4);
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: none;
}

.btn-loading.show {
    display: inline;
}

.btn-text.hide {
    display: none;
}

.hidden {
    display: none;
}

.login-footer {
    margin-top: 25px;
    position: relative;
    z-index: 1;
}

.privacy-note {
    font-size: 0.95rem;
    color: rgba(184, 134, 11, 0.8);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.privacy-icon {
    font-size: 1.1rem;
}

.admin-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    font-style: italic;
    font-family: 'Inter', sans-serif;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .login-card {
        padding: 25px 20px;
        border-radius: 18px;
    }
    
    .login-title {
        font-size: 1.8rem;
    }
    
    .login-subtitle {
        font-size: 1rem;
    }
    
    .form-input, .form-textarea {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .login-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .g-recaptcha {
        transform: scale(0.8);
    }
}

/* Form Input and Button Groups */
.phone-input-group, .otp-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.phone-input-group .form-input, .otp-input-group .form-input {
    flex: 1;
}

.otp-btn, .verify-btn, .resend-btn {
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9) 0%, rgba(34, 197, 94, 0.7) 100%);
    border: 1px solid rgba(34, 197, 94, 0.5);
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
    min-width: 100px;
}

.otp-btn:hover, .verify-btn:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 1) 0%, rgba(34, 197, 94, 0.8) 100%);
    transform: translateY(-1px);
}

.otp-btn:disabled, .verify-btn:disabled {
    background: rgba(107, 114, 128, 0.5);
    cursor: not-allowed;
    transform: none;
}

.resend-btn {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.9) 0%, rgba(59, 130, 246, 0.7) 100%);
    border-color: rgba(59, 130, 246, 0.5);
    padding: 12px 16px;
    font-size: 0.85rem;
    margin-top: 10px;
}

.resend-btn:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 1) 0%, rgba(59, 130, 246, 0.8) 100%);
}

.otp-timer {
    font-size: 0.85rem;
    color: rgba(184, 134, 11, 0.8);
    margin-top: 8px;
    margin-bottom: 0;
    text-align: center;
}

.otp-success {
    color: rgba(34, 197, 94, 0.9) !important;
    font-weight: 600;
}

.otp-error {
    color: rgba(239, 68, 68, 0.9) !important;
    font-weight: 600;
}

/* OTP Card Specific Styles */
.otp-card {
    animation: slideInFromRight 0.5s ease-out;
}

.phone-display {
    font-size: 1.1rem;
    color: rgba(184, 134, 11, 1);
    font-weight: 600;
    margin-top: 10px;
    padding: 12px 20px;
    background: rgba(184, 134, 11, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(184, 134, 11, 0.3);
}

.otp-input {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    font-weight: 600;
}

.otp-timer-container {
    text-align: center;
    margin: 20px 0;
}

.back-btn {
    width: 100%;
    padding: 14px 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    font-family: 'Inter', sans-serif;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 1);
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutToLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100px);
    }
}

.slide-out {
    animation: slideOutToLeft 0.5s ease-out;
}

@media (max-width: 768px) {
    .phone-input-group, .otp-input-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .otp-btn, .verify-btn {
        width: 100%;
        min-width: auto;
    }
    
    .otp-input {
        font-size: 1.3rem;
        letter-spacing: 0.3rem;
    }
}
.form-input.error, .form-textarea.error {
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.form-input.success, .form-textarea.success {
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.error-message {
    color: rgba(239, 68, 68, 0.9);
    font-size: 0.875rem;
    margin-top: 6px;
    display: block;
}