/* src/main/resources/static/css/pages/privacy.css */

/* ===== PRIVACY PAGE - COMPACT THEME ===== */

/* Hero Section */
.privacy-hero {
    text-align: center;
    padding: 50px 20px 40px;
    background: linear-gradient(135deg, #667eea08 0%, #764ba208 100%);
    border-bottom: 1px solid #e9eef2;
}

.privacy-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0f172a;
}

.privacy-hero h1 span {
    color: #2563eb;
}

.privacy-hero p {
    font-size: 14px;
    color: #5b6778;
    max-width: 600px;
    margin: 0 auto;
}

.last-updated {
    margin-top: 15px;
    font-size: 12px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.last-updated i {
    color: #2563eb;
    font-size: 12px;
}

/* Privacy Content */
.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 24px;
}

/* Section Styling */
.privacy-section {
    margin-bottom: 40px;
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.2s ease;
}

.privacy-section:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 16px rgba(37,99,235,0.05);
}

.section-header {
    padding: 18px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}

.section-header:hover {
    background: #f1f5f9;
}

.section-header h2 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2 i {
    color: #2563eb;
    font-size: 18px;
    width: 24px;
}

.section-header .toggle-icon {
    color: #2563eb;
    font-size: 14px;
    transition: transform 0.2s;
}

.section-content {
    padding: 24px;
    display: none;
    border-bottom: 1px solid #e2e8f0;
}

.section-content.active {
    display: block;
}

.section-content p {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
}

.section-content p:last-child {
    margin-bottom: 0;
}

.section-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin: 20px 0 10px;
}

.section-content h3:first-of-type {
    margin-top: 0;
}

.section-content ul, 
.section-content ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.section-content li {
    font-size: 14px;
    color: #475569;
    margin-bottom: 8px;
    line-height: 1.6;
}

.section-content li i {
    color: #10b981;
    margin-right: 8px;
    font-size: 12px;
}

/* Table Styling */
.privacy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 13px;
}

.privacy-table th {
    background: #f1f5f9;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.privacy-table td {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    color: #475569;
}

.privacy-table tr:hover td {
    background: #f8fafc;
}

/* Contact Box */
.contact-box {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid #e2e8f0;
    margin-top: 30px;
}

.contact-box i {
    font-size: 40px;
    color: #2563eb;
    margin-bottom: 15px;
    opacity: 0.8;
}

.contact-box h3 {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
}

.contact-box p {
    font-size: 14px;
    color: #5b6778;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.contact-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-btn {
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.contact-btn.primary {
    background: #0f172a;
    color: white;
}

.contact-btn.primary:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

.contact-btn.secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.contact-btn.secondary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
}

/* Quick Links */
.quick-links-box {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    margin: 30px 0;
}

.quick-links-box h3 {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-links-box h3 i {
    color: #2563eb;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.quick-links-grid a {
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.quick-links-grid a:hover {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
    transform: translateY(-2px);
}

.quick-links-grid a i {
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .privacy-hero h1 {
        font-size: 30px;
    }
    
    .privacy-content {
        padding: 30px 16px;
    }
    
    .section-header {
        padding: 15px 18px;
    }
    
    .section-content {
        padding: 18px;
    }
    
    .section-header h2 {
        font-size: 16px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-btn {
        width: 100%;
        justify-content: center;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .privacy-hero h1 {
        font-size: 26px;
    }
    
    .quick-links-grid {
        grid-template-columns: 1fr;
    }
    
    .privacy-table {
        font-size: 12px;
    }
    
    .privacy-table th,
    .privacy-table td {
        padding: 8px;
    }
}