/* Legal Pages Styles */

.page-header {
    background: linear-gradient(135deg, #00adee 0%, #0099d4 100%);
    color: white;
    padding: 120px 0 60px;
    margin-top: 70px;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: white;
}

.page-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Legal Content */
.legal-content {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: calc(100vh - 400px);
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    line-height: 1.7;
}

.last-updated {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: #e3f2fd;
    border-radius: 10px;
    border-left: 4px solid #00adee;
}

.last-updated p {
    margin: 0;
    color: #0066cc;
    font-size: 0.95rem;
}

.legal-section {
    margin-bottom: 50px;
}

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

.legal-section h2 {
    color: #00adee;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    font-weight: 600;
}

.legal-section h3 {
    color: #333;
    font-size: 1.3rem;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.legal-section p {
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

.legal-section ul {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.legal-section ul li {
    position: relative;
    padding: 8px 0 8px 25px;
    color: #555;
    line-height: 1.6;
}

.legal-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #00adee;
    font-weight: bold;
    font-size: 1.2rem;
}

.legal-section ol {
    margin: 20px 0;
    padding-left: 25px;
    color: #555;
}

.legal-section ol li {
    padding: 5px 0;
    line-height: 1.6;
}

/* Contact Information Box */
.contact-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin-top: 20px;
    border-left: 4px solid #00adee;
}

.contact-info p {
    margin-bottom: 10px;
    color: #333;
    text-align: left;
}

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

.contact-info strong {
    color: #00adee;
    font-weight: 600;
}

/* Table of Contents (optional for longer documents) */
.table-of-contents {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    border: 2px solid #e9ecef;
}

.table-of-contents h3 {
    color: #00adee;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents ul li {
    padding: 8px 0;
}

.table-of-contents ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.table-of-contents ul li a:hover {
    color: #00adee;
    text-decoration: underline;
}

/* Highlight boxes for important information */
.highlight-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #fdcb6e;
    padding: 20px;
    margin: 25px 0;
    border-radius: 5px;
}

.highlight-box.info {
    background: #e3f2fd;
    border-color: #bbdefb;
    border-left-color: #00adee;
}

.highlight-box.warning {
    background: #fff3e0;
    border-color: #ffcc02;
    border-left-color: #ff9800;
}

.highlight-box.danger {
    background: #ffebee;
    border-color: #ffcdd2;
    border-left-color: #f44336;
}

.highlight-box h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.highlight-box p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .content-wrapper {
        padding: 40px 30px;
        margin: 0 20px;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
    
    .legal-section p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .legal-content {
        padding: 60px 0;
    }
    
    .content-wrapper {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .last-updated {
        padding: 15px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .page-header {
        display: none;
    }
    
    .legal-content {
        background: white;
        padding: 0;
    }
    
    .content-wrapper {
        box-shadow: none;
        padding: 20px 0;
    }
    
    .legal-section h2 {
        page-break-after: avoid;
    }
    
    .legal-section {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}
