/* ==========================================================================
   Terms and Conditions Page — Premium UI/UX Upgrade
   Additive layer loaded AFTER terms-page.css. Base file already has a solid
   structure (sticky TOC, summary callout, numbered blocks) - this adds
   icon gradients, hover lift, and a more polished active-state for the TOC.
   ========================================================================== */

:root{
    --tp-accent: #17a4e9;
    --tp-accent-dark: #0f7fbf;
    --tp-heading: #1a1a1a;
    --tp-shadow-hover: 0 14px 32px rgba(15, 23, 42, 0.1);
}

/* ---- TOC: pill-style active state instead of just color+bold ---- */
.terms-toc-wrap{
    border: 1px solid #eef1f4;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}
.terms-toc-list a{
    display: block;
    padding: 4px 10px;
    margin: 0 -10px;
    border-radius: 6px;
    transition: color .15s ease, background-color .15s ease;
}
.terms-toc-list a:hover,
.terms-toc-list a.active{
    background: rgba(23,164,233,.08);
}

/* ---- Summary box: icon badge instead of inline icon ---- */
.terms-summary-box{
    position: relative;
    padding-left: 66px;
}
.terms-summary-box h5{
    text-transform: none;
    letter-spacing: 0;
    font-size: 16px;
}
.terms-summary-box h5 i{
    display: none;
}
.terms-summary-box:before{
    content: '\f05a';
    font-family: 'FontAwesome';
    position: absolute;
    left: 22px;
    top: 22px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tp-accent), #4bd2fe);
    color: #ffffff;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Terms blocks: hover lift + gradient icon ---- */
.terms-block{
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.terms-block:hover{
    transform: translateY(-3px);
    box-shadow: var(--tp-shadow-hover);
}
.terms-block-icon{
    background: linear-gradient(135deg, var(--tp-accent), #4bd2fe);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(23,164,233,.28);
}

/* ---- Last updated pill: accent icon ---- */
.terms-updated-line i{
    color: var(--tp-accent);
}

@media (max-width: 575px){
    .terms-summary-box{
        padding-left: 25px;
    }
    .terms-summary-box:before{
        display: none;
    }
}
