/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Page Title */
.page-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #222;
}

/* Tab Styles */
.tabs {
    margin-bottom: 20px;
}

.tabs input[type="radio"] {
    display: none;
}

.tab-label {
    display: inline-block;
    padding: 10px 20px;
    margin-right: 5px;
    background-color: #f1f1f1;
    border: 1px solid #ddd;
    border-bottom: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tab-label:hover {
    background-color: #e8e8e8;
}

.tabs input[type="radio"]:checked + .tab-label {
    background-color: #fff;
    color: #2196F3;
    font-weight: bold;
    border-bottom: 2px solid #fff;
    position: relative;
    z-index: 1;
}

/* Tab Content */
.tab-content {
    display: none;
    padding: 30px;
    border: 1px solid #ddd;
    background-color: #fff;
    animation: fadeIn 0.3s ease-in-out;
}

#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4,
#tab5:checked ~ #content5 {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Typography */
h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #222;
    border-bottom: 2px solid #2196F3;
    padding-bottom: 10px;
}

h3 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
    background-color: #f8f8f8;
    padding: 10px;
}

h4 {
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #444;
}

p {
    margin-bottom: 10px;
    text-align: justify;
}

/* Lists */
ol, ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

ol li, ul li {
    margin-bottom: 5px;
}

/* Strong text */
strong {
    font-weight: bold;
    color: #222;
}

/* Tables */
.policy-table,
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.policy-table th,
.policy-table td,
.info-table th,
.info-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.policy-table th,
.info-table th {
    background-color: #f5f5f5;
    font-weight: bold;
    color: #333;
}

.policy-table td:first-child {
    font-weight: bold;
    background-color: #fafafa;
    width: 150px;
}

.policy-table tbody tr:hover,
.info-table tbody tr:hover {
    background-color: #f9f9f9;
}

/* Special Elements */
.note {
    background-color: #e8f4f8;
    padding: 10px 15px;
    border-left: 4px solid #2196F3;
    margin: 10px 0;
    font-style: italic;
}

.contact-info {
    background-color: #fff3cd;
    padding: 10px 15px;
    border-left: 4px solid #ffc107;
    margin: 15px 0;
    font-weight: bold;
}

.footer-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.footer-info h4 {
    font-size: 16px;
    color: #666;
}

.footer-info p {
    color: #666;
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .tab-label {
        font-size: 12px;
        padding: 8px 10px;
        margin-right: 2px;
    }
    
    .tab-content {
        padding: 20px 15px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    h4 {
        font-size: 14px;
    }
    
    .policy-table,
    .info-table {
        font-size: 12px;
    }
    
    .policy-table th,
    .policy-table td,
    .info-table th,
    .info-table td {
        padding: 8px;
    }
}

/* Print Styles */
@media print {
    .tabs input[type="radio"],
    .tab-label {
        display: none;
    }
    
    .tab-content {
        display: block !important;
        border: none;
        page-break-after: always;
    }
    
    .tab-content:last-child {
        page-break-after: auto;
    }
}