/* ==========================================================================
   Formix Policy & Code of Conduct Professional Stylesheet
   ========================================================================== */

.policy-page-wrapper {
    background-color: #f8fafc;
    padding: 60px 0;
}

.policy-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
    padding: 40px;
}

@media (max-width: 767.98px) {
    .policy-card {
        padding: 24px 16px;
    }
}

/* Sidebar Navigation */
.policy-sidebar {
    position: sticky;
    top: 90px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.policy-nav-title {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
}

.policy-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.policy-nav-list li {
    margin-bottom: 8px;
}

.policy-nav-link {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.policy-nav-link:hover,
.policy-nav-link.active {
    background: #0f172a;
    color: #ffffff;
}

.policy-nav-link i {
    font-size: 0.8rem;
    margin-right: 10px;
    opacity: 0.7;
}

/* Document Header */
.doc-header-badge {
    display: inline-block;
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.doc-title {
    color: #0f2942;
    font-weight: 800;
    font-size: 2rem;
    margin-top: 12px;
    margin-bottom: 8px;
}

.doc-meta {
    color: #64748b;
    font-size: 0.9rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

/* Policy Content Sections */
.policy-section {
    margin-bottom: 40px;
    scroll-margin-top: 100px;
}

.policy-section-title {
    color: #0f2942;
    font-weight: 800;
    font-size: 1.35rem;
    margin-top: 24px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0f2942;
    display: flex;
    align-items: center;
}

.policy-section-title span.number {
    background: #0f2942;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    margin-right: 12px;
}

.policy-sub-title {
    color: #1e293b;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 12px;
}

.policy-paragraph {
    color: #334155;
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* Highlight Boxes */
.policy-highlight-box {
    background: #f1f5f9;
    border-left: 4px solid #0f2942;
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 20px 0;
}

.policy-highlight-box.warning {
    background: #fffbe6;
    border-left-color: #d97706;
}

.policy-highlight-box.alert {
    background: #fef2f2;
    border-left-color: #dc2626;
}

/* Bullet Points */
.policy-bullet-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.policy-bullet-list li {
    position: relative;
    padding-left: 28px;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 10px;
}

.policy-bullet-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #0f2942;
    font-size: 0.9rem;
}

/* Contact Email Highlight */
.policy-contact-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-radius: 12px;
    padding: 28px;
    margin-top: 30px;
}

.policy-contact-box a {
    color: #38bdf8;
    font-weight: 700;
    text-decoration: underline;
}

/* Policy Approval Grid */
.policy-approval-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px;
    margin-top: 36px;
}

.policy-approval-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.policy-approval-item label {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    display: block;
    margin-bottom: 4px;
}

.policy-approval-item span {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f2942;
    display: block;
}
