/*---------------------------------------------------------------------
Footer & Modal Styles
---------------------------------------------------------------------*/

/* ---- Footer ---- */

.rz-footer {
    background: #2d0854;
    padding: 28px 0;
    text-align: center;
}

.rz-footer__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.rz-footer__btn {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    padding: 10px 28px;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rz-footer__btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.8);
}

/* ---- Modal Overlay ---- */

.rz-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 100000;
    justify-content: center;
    align-items: center;
}

.rz-modal-overlay.rz-modal--active {
    display: flex;
}

/* ---- Modal Content ---- */

.rz-modal {
    background: #ffffff;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: rzModalFadeIn 0.25s ease;
}

@keyframes rzModalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rz-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e8e8e8;
    flex-shrink: 0;
}

.rz-modal__title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

.rz-modal__close {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.rz-modal__close:hover {
    color: #1a1a1a;
    background: #f0f0f0;
}

.rz-modal__body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    color: #444;
    font-size: 15px;
    line-height: 1.7;
}

.rz-modal__body h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 20px 0 8px;
}

.rz-modal__body h3:first-child {
    margin-top: 0;
}

.rz-modal__body p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.7;
    color: #444;
}

/* ---- Responsive ---- */

@media (max-width: 576px) {
    .rz-modal {
        width: 95%;
        max-height: 85vh;
    }

    .rz-modal__header {
        padding: 16px 18px;
    }

    .rz-modal__body {
        padding: 18px;
    }

    .rz-footer__btn {
        padding: 9px 22px;
        font-size: 14px;
    }
}