/* Auth Page Specific Styles */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

body.landing-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    margin: 0;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-card {
    background: var(--secondary);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2.5rem 2rem;
    border: 1px solid var(--medium-gray);
    width: 100%;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .logo-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

.auth-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.auth-header p {
    color: var(--text-light);
    font-size: 1rem;
}

.auth-form {
    display: none;
    pointer-events: none;
    opacity: 0;
}

.auth-form.active {
    display: block;
    animation: fadeInUp 0.5s ease;
    pointer-events: all;
    opacity: 1;
}

/* Make sure all form elements are clickable */
.form-control, .form-select, .btn {
    pointer-events: all;
}

/* Remove any z-index issues */
.auth-card * {
    position: relative;
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--medium-gray);
}

.auth-switch p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.auth-switch a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.auth-switch a:hover {
    text-decoration: underline;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.form-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.form-options a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.form-options a:hover {
    text-decoration: underline;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--secondary);
    margin: 5% auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    color: var(--dark-gray);
    cursor: pointer;
    z-index: 1001;
}

.close-modal:hover {
    color: var(--primary);
}

/* Scripture Modal */
.scripture-modal {
    text-align: center;
    max-width: 500px;
}

.scripture-header {
    margin-bottom: 2rem;
}

.scripture-header i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.scripture-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.scripture-content {
    margin-bottom: 2rem;
}

.scripture-verse {
    display: none;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dark-gray);
}

.scripture-verse.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.scripture-reference {
    font-weight: 600;
    margin-top: 1rem;
    color: var(--primary);
    font-style: normal;
}

.scripture-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.prayer-icon {
    font-size: 2.5rem;
    color: var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translateX(0) scale(1); }
    50% { transform: translateX(10px) scale(1.1); }
    100% { transform: translateX(0) scale(1); }
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .auth-header h1 {
        font-size: 1.7rem;
    }
    
    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}