/* ===== POLICIES UNIFIED STYLESHEET ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
}

/* ===== CONTAINER ===== */
.policy-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    margin-bottom: 80px;
}

/* ===== HEADER ===== */
.policy-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.policy-header h1 {
    font-weight: 700;
    font-size: 42px;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.policy-header p {
    font-size: 18px;
    opacity: 0.95;
    font-weight: 300;
}

/* ===== TABLE OF CONTENTS ===== */
.toc {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #667eea;
}

.toc h3 {
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
    font-size: 22px;
}

.toc ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.toc ul li {
    margin-bottom: 0;
}

.toc a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.toc a:before {
    content: "▶";
    margin-right: 10px;
    font-size: 12px;
    opacity: 0.6;
}

.toc a:hover {
    color: #764ba2;
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .toc ul {
        grid-template-columns: 1fr;
    }
}

/* ===== POLICY SECTIONS ===== */
.policy-section {
    background: white;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #667eea;
    transition: all 0.3s ease;
}

.policy-section:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.policy-section h2 {
    color: #333;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.policy-section h2:before {
    content: "";
    width: 8px;
    height: 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

.policy-section h3 {
    color: #555;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 20px;
}

.policy-section h4 {
    color: #666;
    font-weight: 600;
    margin-top: 18px;
    margin-bottom: 12px;
    font-size: 16px;
}

.policy-section p {
    color: #555;
    line-height: 1.85;
    margin-bottom: 18px;
    font-size: 16px;
}

.policy-section strong {
    color: #333;
    font-weight: 700;
}

.policy-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.policy-section ul li {
    color: #555;
    line-height: 1.85;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 16px;
}

.policy-section ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 18px;
}

/* ===== HIGHLIGHT BOXES ===== */
.highlight-box {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf1 100%);
    border-left: 5px solid #667eea;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.highlight-box p {
    margin-bottom: 0;
}

/* ===== DATA TABLE ===== */
.data-table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
}

.data-table td {
    padding: 16px;
    border: 1px solid #e0e0e0;
    font-size: 15px;
    line-height: 1.6;
}

.data-table td:first-child {
    font-weight: 700;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf1 100%);
    color: #333;
    width: 30%;
}

.data-table tr:hover {
    background-color: #f9f9f9;
}

/* ===== GUIDELINE ITEMS ===== */
.guideline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf1 100%);
    border-left: 5px solid #667eea;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.guideline-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.15);
}

.guideline-icon {
    font-size: 28px;
    color: #667eea;
    flex-shrink: 0;
    line-height: 1.4;
}

.guideline-content h3 {
    color: #333;
    font-weight: 700;
    margin: 0 0 8px 0;
    font-size: 18px;
}

.guideline-content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
}

.guideline-content ul {
    margin-top: 12px;
    padding-left: 20px;
}

.guideline-content ul li {
    padding-left: 0;
    margin-bottom: 8px;
}

.guideline-content ul li:before {
    content: "•";
    margin-right: 8px;
    color: #667eea;
}

/* ===== POLICY ITEMS ===== */
.policy-item {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecf1 100%);
    border-left: 5px solid #667eea;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.policy-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.15);
}

.policy-item h3 {
    color: #667eea;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 18px;
}

.policy-item p {
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.8;
    font-size: 15px;
}

.policy-item ul {
    margin: 15px 0 0 0;
    padding-left: 20px;
}

.policy-item ul li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 15px;
}

/* ===== LAST UPDATED ===== */
.last-updated {
    color: #999;
    font-size: 15px;
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.last-updated p {
    margin-bottom: 8px;
    color: #666;
}

.last-updated strong {
    color: #667eea;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .policy-container {
        padding: 0 15px;
    }

    .policy-header {
        padding: 30px 20px;
    }

    .policy-header h1 {
        font-size: 32px;
    }

    .policy-header p {
        font-size: 16px;
    }

    .policy-section {
        padding: 25px 20px;
    }

    .policy-section h2 {
        font-size: 24px;
    }

    .policy-section h3 {
        font-size: 18px;
    }

    .toc ul {
        grid-template-columns: 1fr;
    }

    .data-table td:first-child {
        width: 100%;
        display: block;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .data-table td {
        display: block;
        padding: 12px;
    }

    .data-table tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
    }
}

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}
