/* Policy Pages Shared Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h2 {
    font-size: 2rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Main Content Styles */
main {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.policy-content {
    background: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.policy-content h1 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
}

.policy-content h2 {
    color: #34495e;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.policy-content h3 {
    color: #495057;
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-content h4 {
    color: #6c757d;
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.policy-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.policy-content ul,
.policy-content ol {
    margin: 1rem 0 1rem 2rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
}

.policy-content ol > li {
    padding-left: 0.5rem;
}

.important {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 1rem;
    margin: 1rem 0;
    font-weight: 600;
    color: #856404;
}

.highlight {
    background: #e3f2fd;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-weight: 600;
    color: #1565c0;
}

.security-notice {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.security-notice h3 {
    color: #721c24;
    margin-top: 0;
    margin-bottom: 1rem;
}

.security-notice p {
    color: #721c24;
    margin-bottom: 0;
}

.contact-info {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 5px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-info a {
    color: #0066cc;
    text-decoration: none;
}

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

.timeline-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.timeline-item {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 1rem;
    text-align: center;
}

.timeline-item h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #495057;
}

.timeline-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.note {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 5px;
    padding: 1rem;
    margin: 1.5rem 0;
}

.note p {
    margin-bottom: 0;
    color: #0c5460;
}

/* Section Spacing */
section {
    margin-bottom: 2rem;
}

section:last-child {
    margin-bottom: 0;
}

/* Footer Styles */
footer {
    background: #2c3e50;
    color: white;
    padding: 2rem 0;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-text p {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
        justify-content: center;
    }
    
    .policy-content {
        padding: 2rem 1.5rem;
    }
    
    .policy-content h1 {
        font-size: 2rem;
    }
    
    .policy-content h2 {
        font-size: 1.3rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .timeline-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .policy-content {
        padding: 1.5rem 1rem;
    }
    
    .policy-content h1 {
        font-size: 1.75rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Print Styles */
@media print {
    header,
    footer {
        display: none;
    }
    
    .policy-content {
        box-shadow: none;
        padding: 0;
    }
    
    .important,
    .security-notice,
    .contact-info,
    .note {
        border: 1px solid #ccc;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
a:focus,
button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .policy-content {
        border: 1px solid #000;
    }
    
    .important,
    .security-notice,
    .contact-info,
    .note {
        border: 2px solid #000;
    }
}