@charset "utf-8";
/* =============================================
   Static Pages Common CSS (Refactored)
   Location: /static/css/static_common.css
   
   Loading Order:
   1. total_common.css (site-wide)
   2. static_common.css (this file)
   3. Individual page CSS
   
   Pattern: Base + Modifier (BEM-like)
   Mobile-first (768px breakpoint)
   
   Color Theme: Purple (#667eea)
   ============================================= */

/* =============================================
   1. LAYOUT - Header
   ============================================= */
.static-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 20px 16px;
    margin: 0 0 20px 0;
    text-align: center;
    border-radius: 10px;
}

.static-header h1 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.static-header .meta {
    font-size: 0.8rem;
    opacity: 0.9;
    margin: 0;
}

/* =============================================
   2. LAYOUT - Section
   ============================================= */
.static-section {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.static-section h2 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #667eea;
}

.static-section p {
    font-size: 0.95rem;
    margin: 0 0 14px 0;
    text-align: justify;
    word-break: keep-all;
    line-height: 1.7;
}

.static-section p:last-child {
    margin-bottom: 0;
}

/* =============================================
   3. COMPONENT - Styled List (Base)
   ============================================= */
.styled-list {
    border-radius: 8px;
    padding: 14px;
    margin: 14px 0;
    background: #f8f9fa;
}

.styled-list ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.styled-list li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.6;
    border-bottom: 1px dashed #ddd;
}

.styled-list li:last-child {
    border-bottom: none;
}

.styled-list li::before {
    content: "\2022";
    font-weight: bold;
    position: absolute;
    left: 0;
    color: #667eea;
}

/* List Color Modifiers */
.styled-list--red {
    background: #fef5f5;
}

.styled-list--red li::before {
    content: "\2022";
    color: #e74c3c;
}

.styled-list--green {
    background: #f0f9f0;
}

.styled-list--green li::before {
    content: "\2713";
    color: #27ae60;
}

.styled-list--blue {
    background: #e8f4f8;
}

.styled-list--blue li::before {
    content: "\2022";
    color: #3498db;
}

.styled-list--purple {
    background: #f5f0ff;
}

.styled-list--purple li::before {
    content: "\25B6";
    color: #667eea;
    font-size: 0.7rem;
}

.styled-list--teal {
    background: #e8f8f5;
}

.styled-list--teal li::before {
    content: "\2606";
    color: #1abc9c;
}

/* =============================================
   4. COMPONENT - Highlight Box (Base)
   ============================================= */
.highlight-box {
    border-left: 4px solid #667eea;
    padding: 12px 16px;
    margin: 14px 0;
    font-size: 0.9rem;
    border-radius: 0 8px 8px 0;
    background: #f5f0ff;
}

/* Highlight Color Modifiers */
.highlight-box--yellow {
    background: #fff9e6;
    border-left-color: #f1c40f;
}

.highlight-box--blue {
    background: #e8f4f8;
    border-left-color: #3498db;
}

.highlight-box--green {
    background: #f0f9f0;
    border-left-color: #27ae60;
}

.highlight-box--red {
    background: #fef5f5;
    border-left-color: #e74c3c;
}

.highlight-box--purple {
    background: #f5f0ff;
    border-left-color: #667eea;
}

/* =============================================
   5. COMPONENT - Table (Base)
   ============================================= */
.table-container {
    overflow-x: auto;
    margin: 14px 0;
    -webkit-overflow-scrolling: touch;
}

.static-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    min-width: 300px;
}

.static-table th,
.static-table td {
    padding: 10px 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.static-table th {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: 600;
    white-space: nowrap;
}

.static-table tr:nth-child(even) {
    background: #f8f9fa;
}

.static-table tr:hover {
    background: #f5f0ff;
}

/* Table Color Modifiers */
.static-table--blue th {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.static-table--green th {
    background: linear-gradient(135deg, #27ae60, #219a52);
}

.static-table--teal th {
    background: linear-gradient(135deg, #1abc9c, #16a085);
}

/* =============================================
   6. COMPONENT - Quote
   ============================================= */
.static-quote {
    font-style: italic;
    color: #555;
    border-left: 3px solid #667eea;
    padding-left: 16px;
    margin: 14px 0;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* =============================================
   7. COMPONENT - Conclusion
   ============================================= */
.static-conclusion {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
}

.static-conclusion h2 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
    margin: 0 0 12px 0;
}

.static-conclusion p {
    color: white;
    margin: 0;
}

/* =============================================
   8. COMPONENT - Tabs (Base)
   ============================================= */
.static-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
    padding: 0 8px;
}

.static-tab-btn {
    flex: 1;
    max-width: 150px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.static-tab-btn:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.static-tab-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.static-tab-content {
    display: none;
}

.static-tab-content.active {
    display: block;
}

/* =============================================
   9. UTILITY - Scroll Top Button
   ============================================= */
.scroll-top-btn {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, #5a6fd6, #6a4190);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* =============================================
   10. UTILITY - Back Home
   ============================================= */
.back-home {
    text-align: center;
    margin: 20px 0 30px 0;
}

.back-home .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 0.95rem;
}

/* =============================================
   11. UTILITY - Source Info
   ============================================= */
.source-info {
    background: #f5f0ff;
    border-left: 4px solid #667eea;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #555;
    border-radius: 0 8px 8px 0;
}

/* =============================================
   PC / Desktop (min-width: 768px)
   ============================================= */
@media (min-width: 768px) {

    /* Header */
    .static-header {
        padding: 28px 24px;
        margin: 0 0 28px 0;
    }

    .static-header h1 {
        font-size: 1.6rem;
    }

    .static-header .meta {
        font-size: 0.9rem;
    }

    /* Section */
    .static-section {
        padding: 24px;
        margin-bottom: 20px;
    }

    .static-section h2 {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

    .static-section p {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    /* List */
    .styled-list {
        padding: 18px;
        margin: 18px 0;
    }

    .styled-list li {
        font-size: 0.95rem;
    }

    /* Highlight Box */
    .highlight-box {
        padding: 16px 20px;
        margin: 18px 0;
        font-size: 0.95rem;
    }

    /* Table */
    .table-container {
        margin: 18px 0;
    }

    .static-table {
        font-size: 0.9rem;
    }

    .static-table th,
    .static-table td {
        padding: 12px 14px;
    }

    /* Quote */
    .static-quote {
        margin: 18px 0;
        font-size: 0.95rem;
    }

    /* Conclusion */
    .static-conclusion {
        padding: 24px;
        margin-top: 28px;
    }

    /* Tabs */
    .static-tabs {
        gap: 12px;
        margin-bottom: 28px;
    }

    .static-tab-btn {
        max-width: 200px;
        padding: 12px 24px;
        font-size: 1rem;
    }

    /* Scroll Top Button */
    .scroll-top-btn {
        bottom: 25px;
        right: 25px;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    /* Back Home */
    .back-home {
        margin: 28px 0 40px 0;
    }

    .back-home .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    /* Source Info */
    .source-info {
        margin-bottom: 28px;
        font-size: 0.9rem;
    }
}