/* Base Styles */
:root {
    --primary-color: #1565c0;
    --secondary-color: #1e88e5;
    --accent-color: #42a5f5;
    --light-color: #e3f2fd;
    --dark-color: #0d47a1;
    --text-color: #333;
    --light-text: #fff;
    --border-color: #ddd;
    --shadow: 0 2px 5px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

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

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 8px;
    border-bottom: 3px solid var(--primary-color);
}

.site-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.guide-title {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.guide-description {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
}

/* Tab Navigation Styles */
.tab-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--light-color);
    border-bottom: 1px solid var(--border-color);
}

.tab-button {
    background-color: transparent;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
    flex: 1;
    text-align: center;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-button i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.tab-button:hover {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--primary-color);
}

.tab-button.active {
    background-color: #fff;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

/* Tab Content Styles */
.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tab-pane h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.content-container {
    max-width: 100%;
}

/* Content Styling */
.content-container h2 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin: 30px 0 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.content-container p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
}

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

.content-container li {
    margin-bottom: 10px;
}

.content-container a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.content-container a:hover {
    text-decoration: underline;
    color: var(--dark-color);
}

.content-container blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 15px;
    margin: 20px 0;
    background-color: var(--light-color);
    font-style: italic;
}

/* Footer Styles */
footer {
    text-align: center;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 8px;
    margin-top: 30px;
    color: var(--text-color);
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 5px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .tab-button {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .guide-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .tabs {
        flex-direction: column;
    }
    
    .tab-button {
        text-align: left;
        border-bottom: 1px solid var(--border-color);
    }
    
    .tab-button.active {
        border-bottom: 1px solid var(--border-color);
        border-left: 3px solid var(--primary-color);
    }
    
    .guide-title {
        font-size: 1.5rem;
    }
    
    .tab-pane h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 10px;
    }
    
    .tab-content {
        padding: 15px;
    }
    
    header {
        padding: 15px;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .guide-title {
        font-size: 1.3rem;
    }
}

/* Print Styles */
@media print {
    .tabs {
        display: none;
    }
    
    .tab-pane {
        display: block;
        page-break-after: always;
    }
    
    .tab-content {
        padding: 0;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
}

.back-to-top {

    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}
.back-to-top:hover {
    background-color: #0056b3;
}
