/* ============================================================
   APEX SHARES — TERMS & CONDITIONS PAGE STYLES
   Extracted from terms.blade.php
   ============================================================ */

.terms-hero {
    background: linear-gradient(135deg, #0B1F3A 0%, #1A3A6B 100%);
    padding: 90px 0 70px;
    position: relative;
    overflow: hidden;
}

.terms-hero::before {
    content: ''; position: absolute; top: -80px; right: -80px;
    width: 280px; height: 280px; border-radius: 50%;
    background: rgba(74, 127, 199,0.06);
}

.terms-hero h1 { color: #fff; font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; margin-bottom: 12px; }
.terms-hero .breadcrumb { background: transparent; padding: 0; margin: 0; }
.terms-hero .breadcrumb-item { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.terms-hero .breadcrumb-item a { color: #4A7FC7; text-decoration: none; }
.terms-hero .breadcrumb-item.active { color: rgba(255,255,255,0.8); }
.terms-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.35); }

.terms-meta {
    display: flex; flex-wrap: wrap; gap: 20px; margin-top: 16px;
}

.terms-meta span {
    color: rgba(255,255,255,0.6); font-size: 0.85rem;
    display: flex; align-items: center; gap: 6px;
}

.terms-meta span i { color: #4A7FC7; }

.terms-body { padding: 70px 0; background: #fff; }

.terms-sidebar {
    position: sticky;
    top: 100px;
    background: #F8FAFB;
    border: 1.5px solid #E5E7EB;
    border-radius: 18px;
    padding: 28px;
}

.terms-sidebar h6 {
    font-weight: 700; color: #0B1F3A; font-size: 0.92rem;
    margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px;
}

.terms-nav-link {
    display: block;
    color: #6B7280;
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 4px;
    border-left: 2px solid transparent;
}

.terms-nav-link:hover,
.terms-nav-link.active {
    background: rgba(74, 127, 199,0.08);
    color: #0B1F3A;
    border-left-color: #4A7FC7;
}

.terms-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0B1F3A;
    margin: 36px 0 14px;
    padding-top: 10px;
    display: flex; align-items: center; gap: 10px;
}

.terms-content h2 .section-num {
    width: 32px; height: 32px;
    background: #4A7FC7;
    color: #0B1F3A;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 800;
    flex-shrink: 0;
}

.terms-content p {
    color: #4B5563;
    font-size: 0.9rem;
    line-height: 1.8;
    font-weight: 400 !important;
    margin-bottom: 14px;
}

.terms-content ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 16px;
}

.terms-content ul li {
    color: #4B5563;
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 400 !important;
    padding: 6px 0 6px 22px;
    position: relative;
    border-bottom: 1px solid #F3F4F6;
}

.terms-content ul li::before {
    content: '▸';
    position: absolute; left: 0;
    color: #4A7FC7; font-size: 0.75rem;
    margin-top: 2px;
}

.terms-content ul li:last-child { border-bottom: none; }

.terms-highlight {
    background: rgba(74, 127, 199,0.06);
    border-left: 4px solid #4A7FC7;
    border-radius: 0 10px 10px 0;
    padding: 18px 20px;
    margin: 20px 0;
}

.terms-highlight p { margin: 0; color: #0B1F3A; font-weight: 500 !important; }

.terms-warning {
    background: rgba(239,68,68,0.05);
    border-left: 4px solid #ef4444;
    border-radius: 0 10px 10px 0;
    padding: 18px 20px;
    margin: 20px 0;
}

.terms-warning p { margin: 0; color: #991b1b; font-weight: 500 !important; font-size: 0.88rem; }

.terms-divider {
    border: none;
    border-top: 1px solid #E5E7EB;
    margin: 30px 0;
}
