/* Hope Connect Main CSS - Minimal, Component-Only, No Container Backgrounds */
/* This version ONLY styles specific elements, no page-level backgrounds */

/* Animation keyframes - custom names, won't conflict */
@keyframes hopeFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hopePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ============================================ */
/* LANDING PAGE COMPONENTS */
/* ============================================ */

.hope-connect-card {
    background: #ffffff;
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    padding: 50px 40px;
    animation: hopeFadeInUp 0.8s ease-out;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.hope-church-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px auto;
    display: block;
    animation: hopePulse 2s infinite;
}

.hope-landing-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.hope-landing-verse {
    font-style: italic;
    font-size: 16px;
    color: #7bbfbe;
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 16px;
}

.hope-landing-verse span {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: 600;
    color: #6c757d;
}

.hope-btn-group-landing {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hope-btn-register {
    background: linear-gradient(135deg, #7bbfbe 0%, #8fcfce 100%);
    color: white !important;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    flex: 1;
    transition: transform 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
    min-width: 120px;
}

.hope-btn-attendance {
    background: linear-gradient(135deg, #5a9e9d 0%, #6baead 100%);
    color: white !important;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    flex: 1;
    transition: transform 0.3s ease;
    display: inline-block;
    text-align: center;
    border: none;
    cursor: pointer;
    min-width: 120px;
}

.hope-btn-register:hover,
.hope-btn-attendance:hover {
    transform: translateY(-3px);
    color: white !important;
    text-decoration: none;
}

/* ============================================ */
/* REGISTRATION FORM COMPONENTS */
/* ============================================ */

.hope-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: none;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.hope-header {
    background: linear-gradient(135deg, #7bbfbe 0%, #8fcfce 100%);
    color: white !important;
    text-align: center;
    padding: 35px 30px;
}

.hope-church-name {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.95;
    color: white !important;
}

.hope-welcome-title {
    font-size: 28px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 10px;
    color: white !important;
}

.hope-welcome-text {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75) !important;
    margin-bottom: 0;
}

.hope-body {
    padding: 40px;
}

.hope-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    display: block;
}

.hope-input,
.hope-select {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 12px 15px;
    font-size: 15px;
    min-height: 50px;
    width: 100%;
    background: #ffffff;
    color: #1f2937;
}

.hope-input:focus,
.hope-select:focus {
    border-color: #7bbfbe;
    box-shadow: 0 0 0 0.2rem rgba(123,191,190,0.15);
    outline: none;
}

.hope-textarea {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 12px 15px;
    font-size: 15px;
    width: 100%;
    background: #ffffff;
    color: #1f2937;
    font-family: inherit;
}

.hope-textarea:focus {
    border-color: #7bbfbe;
    box-shadow: 0 0 0 0.2rem rgba(123,191,190,0.15);
    outline: none;
}

.hope-check-label {
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.hope-check-input {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    background-color: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
}

.hope-check-input:checked {
    background-color: #7bbfbe;
    border-color: #7bbfbe;
}

.hope-check-input:focus {
    outline: none;
    border-color: #7bbfbe;
}

.hope-btn-submit {
    background: #7bbfbe;
    border: none;
    color: white !important;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    transition: all .3s ease;
    width: 100%;
    cursor: pointer;
}

.hope-btn-submit:hover {
    background: #69aead;
    color: white !important;
}

.hope-btn-submit:disabled {
    background: #b0d4d3;
    cursor: not-allowed;
}

.hope-verse-footer {
    font-size: 14px;
    color: #8f9bb3;
    text-align: center;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
    font-style: italic;
}

.hope-privacy-note {
    font-size: 12px;
    color: #6c757d;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    line-height: 1.4;
}

/* ============================================ */
/* MODAL COMPONENTS */
/* ============================================ */

.hope-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.hope-modal-box {
    background: white;
    padding: 30px;
    border-radius: 16px;
    max-width: 400px;
    text-align: center;
    margin: 20px;
}

.hope-modal-buttons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.hope-btn-confirm {
    background: #7bbfbe;
    color: white !important;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
}

.hope-btn-cancel {
    background: #e74c3c;
    color: white !important;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
}

.hope-field-error {
    border-color: #e74c3c !important;
    background-color: #fff5f5 !important;
}

.hope-error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.hope-modal-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

/* ============================================ */
/* SUCCESS PAGE COMPONENTS */
/* ============================================ */

.hope-success-card {
    background: #ffffff;
    border-radius: 24px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    padding: 50px 40px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.hope-success-icon {
    font-size: 60px;
    color: #7bbfbe;
    margin-bottom: 20px;
}

.hope-success-title {
    font-size: 26px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
}

.hope-success-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 25px;
}

.hope-success-verse {
    font-style: italic;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.7;
    margin: 25px 0;
}

.hope-success-verse span {
    display: block;
    margin-top: 8px;
    font-style: normal;
    font-weight: 600;
    color: #7bbfbe;
}

.hope-btn-link {
    background: #7bbfbe;
    color: white !important;
    border-radius: 12px;
    padding: 12px 24px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.hope-btn-link:hover {
    background: #69aead;
    color: white !important;
    text-decoration: none;
}

/* ============================================ */
/* ATTENDANCE CHECK-IN COMPONENTS */
/* ============================================ */

.hope-checkin-card {
    background: #ffffff;
    border-radius: 24px;
    max-width: 500px;
    width: 100%;
    padding: 50px 40px;
    text-align: center;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.hope-checkin-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.hope-checkin-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 10px;
}

.hope-checkin-subtitle {
    color: #6b7280;
    margin-bottom: 30px;
}

.hope-btn-checkin {
    background: #7bbfbe;
    color: white !important;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    margin-top: 20px;
    border: none;
    cursor: pointer;
}

.hope-btn-checkin:hover {
    background: #69aead;
    color: white !important;
}

.hope-btn-back {
    display: inline-block;
    margin-top: 20px;
    color: #6c757d !important;
    text-decoration: none;
    cursor: pointer;
}

.hope-btn-back:hover {
    color: #6c757d !important;
    text-decoration: underline;
}

/* ============================================ */
/* ATTENDANCE SUCCESS COMPONENTS */
/* ============================================ */

.hope-attendance-success {
    background: #ffffff;
    border-radius: 24px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    padding: 50px 40px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.hope-welcome-message {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 12px;
    margin: 20px 0;
}

/* ============================================ */
/* BIBLE STUDY COMPONENTS */
/* ============================================ */

.hope-bs-card {
    background: #ffffff;
    border-radius: 24px;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.hope-bs-header {
    background: linear-gradient(135deg, #7bbfbe 0%, #8fcfce 100%);
    color: white;
    text-align: center;
    padding: 35px 30px;
}

.hope-bs-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white !important;
}

.hope-bs-body {
    padding: 40px;
}

.hope-btn-bible-study {
    background: #7bbfbe;
    color: white !important;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hope-btn-bible-study:hover {
    background: #69aead;
    transform: translateY(-2px);
    color: white !important;
}

.hope-group-card {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    border-left: 4px solid #7bbfbe;
}

.hope-group-card strong {
    color: #1f2937;
}

.hope-group-card p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

/* ============================================ */
/* PRAYER REQUEST COMPONENTS */
/* ============================================ */

.hope-prayer-card {
    background: #ffffff;
    border-radius: 24px;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.hope-prayer-header {
    background: linear-gradient(135deg, #7bbfbe 0%, #8fcfce 100%);
    color: white;
    text-align: center;
    padding: 35px 30px;
}

.hope-prayer-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white !important;
}

.hope-prayer-header p {
    font-size: 16px;
    opacity: 0.9;
    color: white !important;
}

.hope-prayer-body {
    padding: 40px;
}

.hope-btn-pray {
    background: #7bbfbe;
    color: white !important;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hope-btn-pray:hover {
    background: #69aead;
    transform: translateY(-2px);
    color: white !important;
}

.hope-info-text {
    font-size: 12px;
    color: #6c757d;
    text-align: center;
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
}

.hope-info-confidential {
    background: #f8f9fa;
}

.hope-info-contact {
    background: #e8f5e9;
    color: #2e7d32 !important;
}

/* ============================================ */
/* LOGO & FOOTER COMPONENTS */
/* ============================================ */

.hope-logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.hope-logo-container img {
    max-width: 80px;
    height: auto;
    border-radius: 50%;
}

.hope-footer-text {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
    font-size: 10px;
    color: #6b7280;
    text-align: center;
}

.hope-footer-text a {
    color: #FF8C00 !important;
    text-decoration: none;
}

.hope-footer-text a:hover {
    color: #FF8C00 !important;
    text-decoration: underline;
}

/* ============================================ */
/* RESPONSIVE ADJUSTMENTS */
/* ============================================ */

@media (max-width: 768px) {
    .hope-body {
        padding: 25px;
    }
    
    .hope-welcome-title {
        font-size: 22px;
    }
    
    .hope-verse-footer {
        font-size: 12px;
    }
    
    .hope-privacy-note {
        font-size: 10px;
    }
    
    .hope-connect-card {
        padding: 35px 25px;
    }
    
    .hope-landing-title {
        font-size: 26px;
    }
    
    .hope-btn-group-landing {
        flex-direction: column;
    }
    
    .hope-church-icon {
        width: 60px;
        height: 60px;
    }
    
    .hope-success-card {
        padding: 35px 25px;
    }
    
    .hope-success-title {
        font-size: 22px;
    }
    
    .hope-logo-container img {
        max-width: 60px;
    }
    
    .hope-prayer-header h2 {
        font-size: 24px;
    }
    
    .hope-prayer-body {
        padding: 25px;
    }
    
    .hope-bs-body {
        padding: 25px;
    }
}