/* ==========================================================================
   JODII Footer & Auth Modal Stylesheet (footer.css)
   ========================================================================== */

.main-footer {
    background: linear-gradient(180deg, #29020C 0%, #190107 100%);
    color: #F3E5F5;
    border-top: 1px solid rgba(245, 197, 66, 0.3);
}

.footer-top {
    padding: 60px 0 40px 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 18px;
    color: #F5C542;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: #E91E63;
}

.footer-about-text {
    font-size: 13px;
    color: #DDD;
    line-height: 1.6;
    margin: 16px 0 20px 0;
    text-align: justify;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(245, 197, 66, 0.3);
    color: #F5C542;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: #E91E63;
    color: #FFF;
    border-color: #E91E63;
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links li a {
    font-size: 13px;
    color: #CCC;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.footer-links li a i {
    font-size: 10px;
    color: #F5C542;
}

.footer-links li a:hover {
    color: #F5C542;
    transform: translateX(4px);
}

.footer-newsletter-text {
    font-size: 13px;
    color: #DDD;
    margin-bottom: 12px;
}

.footer-newsletter-form {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}

.footer-newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid rgba(245, 197, 66, 0.4);
    background: rgba(255, 255, 255, 0.06);
    color: #FFF;
    font-size: 12px;
    outline: none;
}

.footer-newsletter-form input::placeholder {
    color: #AAA;
}

.footer-newsletter-form button {
    padding: 10px 16px;
    background: linear-gradient(180deg, #F5C542 0%, #D49D18 100%);
    color: #29020C;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
}

.app-download-mini span {
    display: block;
    font-size: 11px;
    color: #AAA;
    margin-bottom: 8px;
}

.app-badges {
    display: flex;
    gap: 8px;
}

.btn-app-store {
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFF;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Footer Bottom */
.footer-bottom {
    background: #140105;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
}

.footer-bottom-container p strong,
.footer-bottom-container p a.designer-link {
    color: #F5C542;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-bottom-container p a.designer-link:hover {
    color: #E91E63;
    text-decoration: underline;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom-links a {
    color: #BBB;
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: #F5C542;
}

/* --------------------------------------------------------------------------
   AUTH MODAL STYLES (LOGIN & REGISTER POPUP)
   -------------------------------------------------------------------------- */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 1, 5, 0.75);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-modal-overlay.show {
    opacity: 1;
}

.auth-modal-box {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 2px solid #F5C542;
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.auth-modal-overlay.show .auth-modal-box {
    transform: translateY(0);
}

.auth-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    border: none;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-close-btn:hover {
    background: #E91E63;
    color: #FFFFFF;
}

.auth-tabs {
    display: flex;
    background: #29020C;
    border-bottom: 2px solid #F5C542;
    padding-right: 45px;
}

.auth-tab-btn {
    flex: 1;
    padding: 16px;
    background: transparent;
    color: #F3E5F5;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.auth-tab-btn.active {
    background: #FFFFFF;
    color: #29020C;
    border-radius: 12px 12px 0 0;
}

.auth-panel {
    padding: 28px 24px;
}

.auth-panel-title {
    font-family: var(--font-heading);
    font-size: 22px;
    color: #29020C;
    text-align: center;
    margin-bottom: 4px;
}

.auth-panel-sub {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.auth-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.auth-input-group label {
    font-size: 12px;
    font-weight: 600;
    color: #4A081A;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 14px;
    color: #C2185B;
    font-size: 14px;
}

.input-with-icon i.toggle-password {
    left: auto;
    right: 14px;
    cursor: pointer;
    color: #E91E63;
}

.input-with-icon input, .auth-select {
    width: 100%;
    padding: 11px 14px 11px 40px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 13px;
    font-family: var(--font-body);
    outline: none;
    background: #FAF5F7;
}

.auth-select {
    padding-left: 14px;
}

.input-with-icon input:focus, .auth-select:focus {
    border-color: #E91E63;
    background: #FFF;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.15);
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 20px;
}

.auth-options a {
    color: #E91E63;
    font-weight: 600;
}

.btn-auth-submit {
    width: 100%;
    padding: 13px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 700;
    box-shadow: var(--shadow-pink);
    transition: all 0.3s ease;
}

.btn-login-submit {
    background: linear-gradient(180deg, #F5C542 0%, #D49D18 100%);
    color: #29020C;
    box-shadow: var(--shadow-gold);
}

.btn-register-submit {
    background: linear-gradient(180deg, #E91E63 0%, #C2185B 100%);
    color: #FFFFFF;
}

/* OTP Verification Panel Styles */
.otp-header {
    text-align: center;
    margin-bottom: 20px;
}

.otp-icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #FCE4EC;
    color: #C2185B;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
    border: 2px solid #F8BBD0;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.12);
}

.otp-inputs-wrapper {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
}

.otp-digit {
    width: 52px;
    height: 58px;
    border-radius: 12px;
    border: 2px solid #FCE4EC;
    background: #FFF;
    font-size: 22px;
    font-weight: 700;
    color: #29020C;
    text-align: center;
    outline: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.otp-digit:focus {
    border-color: #E91E63;
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.15);
}

.otp-resend-box {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #666;
}

.btn-resend-link {
    background: none;
    border: none;
    color: #E91E63;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}

.btn-resend-link:hover {
    color: #AD1457;
}

.edit-mobile-btn {
    background: #FCE4EC;
    border: 1px solid #F8BBD0;
    color: #C2185B;
    border-radius: 6px;
    padding: 3px 7px;
    font-size: 13px;
    margin-left: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.edit-mobile-btn:hover {
    background: #E91E63;
    color: #FFFFFF;
    border-color: #E91E63;
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .footer-top {
        padding: 35px 0 25px 0;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }
    .footer-col-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    .footer-about-text {
        font-size: 12px;
        margin: 10px 0 14px 0;
    }
    .footer-links {
        gap: 8px;
    }
    .footer-links li a {
        font-size: 12px;
    }
    .footer-newsletter-text {
        font-size: 12px;
        margin-bottom: 8px;
    }
    .footer-bottom {
        padding: 16px 0;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        font-size: 11px;
    }
}

/* Auth Validation Error Styles */
.error-text {
    display: none;
    color: #E91E63;
    font-size: 11px;
    font-weight: 500;
    margin-top: 4px;
    padding-left: 4px;
}

@media (max-width: 576px) {
    .auth-modal-box {
        width: 95%;
        margin: 0 auto;
        border-radius: 13px;
        border: 2px solid #F5C542;
    }
    .auth-panel {
        padding: 15px 10px;
    }
    .auth-panel-title {
        font-size: 18px;
        margin-bottom: 2px;
    }
    .auth-panel-sub {
        font-size: 11px;
        margin-bottom: 15px;
    }
    .auth-input-group label {
        font-size: 11px;
    }
    .input-with-icon input, .auth-select {
        padding: 10px 12px 10px 35px;
        font-size: 12px;
    }
    .btn-auth-submit {
        padding: 10px;
        font-size: 14px;
    }
    .auth-options {
        font-size: 11px;
        margin-bottom: 15px;
    }
    .auth-tab-btn {
        padding: 12px 5px;
        font-size: 12px;
        gap: 5px;
    }
    .auth-close-btn {
        width: 24px;
        height: 24px;
        font-size: 12px;
        top: 8px;
        right: 8px;
    }
}

/* Floating Contact Widget */
.floating-contact-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.float-btn:hover {
    transform: translateY(-5px) scale(1.05);
    color: #FFF;
}

.call-btn {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
}

.call-btn:hover {
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
    color: #FFF;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.whatsapp-btn:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #FFF;
}

@media (max-width: 576px) {
    .floating-contact-widget {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* ==========================================================================
   GLOBAL TOAST NOTIFICATION STYLING (RESPONSIVE)
   ========================================================================== */
.marriage-life-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    font-size: 13px;
    font-weight: 600;
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100vw - 32px);
    box-sizing: border-box;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(15px) scale(0.95);
    pointer-events: none;
}

.marriage-life-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.marriage-life-toast.error {
    background: linear-gradient(135deg, #B71C1C 0%, #D32F2F 100%);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.marriage-life-toast.success {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 100%);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.marriage-life-toast.info {
    background: linear-gradient(135deg, #3A0513 0%, #29020C 100%);
    color: #F5C542;
    border: 1px solid #F5C542;
}

@media (max-width: 768px) {
    .marriage-life-toast {
        right: auto !important;
        left: 50% !important;
        bottom: 24px !important;
        transform: translate(-50%, 15px) scale(0.95) !important;
        padding: 10px 18px !important;
        font-size: 12px !important;
        line-height: 1.4 !important;
        width: calc(100% - 32px) !important;
        max-width: 480px !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 25px !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
        gap: 10px !important;
        box-sizing: border-box !important;
    }

    .marriage-life-toast i {
        font-size: 16px !important;
        flex-shrink: 0 !important;
    }

    .marriage-life-toast span {
        flex: 1 1 auto !important;
    }

    .marriage-life-toast.show {
        transform: translate(-50%, 0) scale(1) !important;
    }
}
