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

body {
    font-family: 'Arial', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}

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

.main-content {
    background: #ffffff;
    min-height: 100vh;
}

/* Tabs Styles */
.tabs-wrapper {
    margin-top: 20px;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 30px;
}

.tab-input {
    display: none;
}

.tab-label {
    padding: 15px 25px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: #6c757d;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    user-select: none;
    color: #ff7e21;
}

.tab-label:hover {
    color: #000000;
}

#tab1:checked ~ .tabs-nav label[for="tab1"],
#tab2:checked ~ .tabs-nav label[for="tab2"] {
    color: #000000;
    font-weight: 900;
    border-bottom-color: #000000;
}

.tabs-content {
    position: relative;
    min-height: 400px;
}

.tab-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Tab Content Display Logic */
#panel1 {
    display: block;
    opacity: 1;
}

#tab1:checked ~ .tabs-content #panel1,
#tab2:checked ~ .tabs-content #panel2 {
    display: block;
    opacity: 1;
}

/* Content Text Styles */
.content-text {
    max-width: 900px;
    margin: 0 auto;
}

.content-text h2 {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
}

.content-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin: 30px 0 20px 0;
}

.content-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 20px;
}

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

.content-text strong {
    font-weight: 700;
}

.content-text em {
    font-style: italic;
}

.content-text a {
    color: #FF6B35;
    text-decoration: none;
}

.content-text a:hover {
    text-decoration: underline;
}

/* Requirements List */
.requirements-list {
    margin-left: 25px;
    margin-bottom: 20px;
}

.requirements-list li {
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 15px;
}

/* Tables Wrapper */
.tables-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.code-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e0e0e0;
}

.code-table thead th {
    background-color: #FF7E21;
    color: #ffffff;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

.code-table tbody td {
    padding: 15px;
    border-top: 1px solid #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
}

.code-table tbody td:first-child {
    font-weight: 700;
    text-align: center;
    width: 80px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px 15px;
    }
    
    .tabs-nav {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .tab-label {
        flex: 1;
        min-width: 150px;
        text-align: center;
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .tables-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .content-text h2 {
        font-size: 22px;
    }
    
    .content-text h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .tab-label {
        min-width: 120px;
        font-size: 13px;
    }
    
    .content-text h2 {
        font-size: 20px;
    }
    
    .content-text p {
        font-size: 15px;
    }
    
    .code-table thead th,
    .code-table tbody td {
        font-size: 14px;
        padding: 12px 10px;
    }
}