/* public/assets/css/policy.css */

/* --------------------------
   OVERLAY (MODAL BACKDROP)
--------------------------- */
.tf-policy-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* --------------------------
   MODAL CONTAINER
--------------------------- */
.tf-policy-modal {
    background: linear-gradient(135deg, #f6b3c1, #f0a6b8);
    color: #ffffff;
    width: 90%;
    max-width: 820px;
    max-height: 85vh;
    border-radius: 18px;
    padding: 36px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    animation: tfFadeUp 0.3s ease;
}

/* --------------------------
   MODAL CONTENT WRAPPER
   (REQUIRED FOR JS)
--------------------------- */
.tf-policy-modal-content {
    width: 100%;
}

/* --------------------------
   CLOSE BUTTON
--------------------------- */
.tf-policy-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 22px;
    cursor: pointer;
    color: #ffffff;
    opacity: 0.85;
}

.tf-policy-close:hover {
    opacity: 1;
}

/* --------------------------
   POLICY CONTENT
--------------------------- */
.tf-policy h2 {
    font-size: 26px;
    margin-bottom: 18px;
    font-weight: 600;
}

.tf-policy h4 {
    margin-top: 22px;
    margin-bottom: 8px;
    font-size: 17px;
}

.tf-policy p,
.tf-policy li {
    line-height: 1.75;
    font-size: 15px;
    margin-bottom: 12px;
}

.tf-policy ul {
    padding-left: 20px;
}

/* --------------------------
   PAGE VIEW SUPPORT
   (when opened directly)
--------------------------- */
body .tf-policy-overlay[style*="flex"] {
    display: flex;
}

/* --------------------------
   ANIMATION
--------------------------- */
@keyframes tfFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
