/* web/static/css/policy.css - Styles for the policy page */

.policy-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

.policy-paper {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 40px 50px;
}

.policy-paper h1 {
    font-size: 26px;
    color: #1a237e;
    margin-bottom: 6px;
    line-height: 1.3;
}

.policy-meta {
    font-size: 13px;
    color: #666;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8ecf1;
}

.policy-meta div {
    margin-bottom: 4px;
}

.policy-paper h2 {
    font-size: 18px;
    color: #1a237e;
    margin-top: 32px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e3f2fd;
}

.policy-paper h3 {
    font-size: 15px;
    color: #0d47a1;
    margin-top: 20px;
    margin-bottom: 10px;
}

.policy-paper p {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
}

.policy-paper ul,
.policy-paper ol {
    margin: 10px 0 16px 24px;
}

.policy-paper li {
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}

.policy-paper strong {
    color: #1a237e;
}

.policy-paper table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 13px;
}

.policy-paper th {
    background: #f0f4f8;
    padding: 10px 12px;
    text-align: left;
    color: #1a237e;
    font-weight: 600;
    border-bottom: 2px solid #e3f2fd;
}

.policy-paper td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
}

.policy-paper tr:hover td {
    background: #fafbfc;
}

.policy-contact {
    margin-top: 32px;
    padding: 16px 20px;
    background: #f0f4f8;
    border-left: 4px solid #1a237e;
    border-radius: 6px;
    font-size: 14px;
}

.policy-contact a {
    color: #1976d2;
    text-decoration: none;
}

.policy-contact a:hover {
    text-decoration: underline;
}

/* Print */
@media print {
    .site-header,
    .site-footer,
    .back-to-top {
        display: none !important;
    }
    .policy-paper {
        box-shadow: none;
        padding: 0;
    }
    body {
        background: white;
    }
}

@media (max-width: 600px) {
    .policy-paper {
        padding: 24px 20px;
    }
    .policy-paper h1 {
        font-size: 22px;
    }
    .policy-container {
        margin: 20px auto;
        padding: 0 12px;
    }
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #1a237e;
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(26, 35, 126, 0.3);
    font-size: 18px;
    display: none;
    transition: all 0.2s;
    z-index: 100;
}

.back-to-top.visible {
    display: block;
}

.back-to-top:hover {
    transform: translateY(-2px);
}