@charset "utf-8";
/* =============================================
   Self-Therapy Step 1 CSS
   Location: /static/self_therapy/css/step1.css
   
   Depends on: static_common.css
   - Uses: .scroll-top-btn
   
   Mobile-first design
   Media Query: Mobile (default) + PC (min-width: 768px)
   Color Theme: Green (#11998e)
   ============================================= */

/* =============================================
   1. Page Header
   ============================================= */
.step1-header {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
    padding: 24px 16px;
    margin: 0 0 20px 0;
    text-align: center;
    border-radius: 10px;
}

.step1-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.step1-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.step1-meta {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

/* =============================================
   2. Tab Menu
   ============================================= */
.step1-tabs {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 20px;
}

.step1-tab-btn {
    flex: 1;
    max-width: 120px;
    padding: 10px 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.step1-tab-btn i {
    font-size: 0.9rem;
}

.step1-tab-btn:hover {
    border-color: #11998e;
    color: #11998e;
    transform: translateY(-2px);
}

.step1-tab-btn.active {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(17, 153, 142, 0.4);
}

/* =============================================
   3. Tab Content
   ============================================= */
.step1-content {
    display: none;
    animation: step1FadeIn 0.3s ease;
}

.step1-content.active {
    display: block;
}

@keyframes step1FadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   4. Section
   ============================================= */
.step1-section {
    background: white;
    border-radius: 12px;
    padding: 18px 16px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.step1-section h2 {
    font-size: 1.15rem;
    color: #11998e;
    margin: 0 0 14px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f8f5;
}

.step1-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 14px 0;
}

.step1-section p:last-child {
    margin-bottom: 0;
}

/* =============================================
   5. Highlight Box
   ============================================= */
.step1-highlight {
    background: linear-gradient(135deg, #fff9e6, #fffbf0);
    border-left: 4px solid #ffc107;
    padding: 14px 16px;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 16px 0;
}

.step1-highlight i {
    font-size: 1.3rem;
    color: #ffc107;
    margin-top: 2px;
    flex-shrink: 0;
}

.step1-highlight strong {
    color: #333;
}

/* =============================================
   6. Reason List
   ============================================= */
.step1-reason-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step1-reason-list li {
    padding: 10px 0 10px 24px;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.6;
    border-bottom: 1px dashed #e0e0e0;
}

.step1-reason-list li:last-child {
    border-bottom: none;
}

.step1-reason-list li::before {
    content: "✓";
    color: #11998e;
    font-weight: bold;
    font-size: 1.1rem;
    position: absolute;
    left: 0;
}

.step1-reason-list strong {
    color: #11998e;
}

/* =============================================
   7. Practice Card
   ============================================= */
.step1-practice-card {
    background: #f8f9fa;
    border-left: 4px solid #11998e;
    border-radius: 0 8px 8px 0;
    padding: 16px;
    margin-bottom: 14px;
}

.step1-practice-card:last-child {
    margin-bottom: 0;
}

.step1-practice-card h3 {
    font-size: 1rem;
    color: #333;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step1-practice-card h3 i {
    color: #11998e;
}

.step1-practice-card p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
}

.step1-practice-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step1-practice-card ul li {
    padding: 5px 0 5px 18px;
    position: relative;
    font-size: 0.85rem;
    color: #666;
}

.step1-practice-card ul li::before {
    content: "•";
    color: #11998e;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* =============================================
   8. Warning Box
   ============================================= */
.step1-warning {
    background: #fff3cd;
    border-left: 4px solid #ff9800;
    border-radius: 0 8px 8px 0;
    padding: 14px 16px;
    display: flex;
    gap: 12px;
}

.step1-warning i {
    font-size: 1.3rem;
    color: #ff9800;
    flex-shrink: 0;
    margin-top: 2px;
}

.step1-warning p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.step1-warning p:last-child {
    margin-bottom: 0;
}

.step1-warning strong {
    color: #333;
}

/* =============================================
   9. Checklist
   ============================================= */
.step1-checklist {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 14px;
}

.step1-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background 0.2s ease;
}

.step1-checklist-item:last-child {
    border-bottom: none;
}

.step1-checklist-item:hover {
    background: rgba(17, 153, 142, 0.05);
}

.step1-checklist-item input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.step1-checklist-item span {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.step1-checklist-item input[type="checkbox"]:checked+span {
    color: #11998e;
    text-decoration: line-through;
}

/* =============================================
   10. Media Section
   ============================================= */
.step1-video-container {
    margin-bottom: 12px;
}

.step1-video-container iframe {
    border-radius: 8px;
}

.step1-caption {
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
}

.step1-audio-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.step1-download-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step1-download-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.step1-download-item:hover {
    background: #e8f8f5;
    transform: translateX(5px);
}

.step1-download-item i {
    font-size: 1.3rem;
    color: #11998e;
}

.step1-download-item span {
    font-size: 0.9rem;
}

/* =============================================
   11. Navigation
   ============================================= */
.step1-navigation {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 24px 0 32px 0;
}

.step1-nav-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.step1-nav-home {
    background: white;
    color: #666;
    border: 2px solid #e0e0e0;
}

.step1-nav-home:hover {
    border-color: #11998e;
    color: #11998e;
    transform: translateY(-2px);
}

.step1-nav-next,
.step1-nav-prev {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(17, 153, 142, 0.3);
}

.step1-nav-next:hover,
.step1-nav-prev:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(17, 153, 142, 0.4);
    color: white;
}

/* =============================================
   12. Scroll Top Button (Green Theme)
   ============================================= */
.scroll-top-btn {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    box-shadow: 0 4px 15px rgba(17, 153, 142, 0.4);
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, #0e8274, #2fd46a);
    box-shadow: 0 6px 20px rgba(17, 153, 142, 0.6);
}

/* =============================================
   PC / Desktop (min-width: 768px)
   ============================================= */
@media (min-width: 768px) {

    /* Header */
    .step1-header {
        padding: 32px 24px;
        margin: 0 0 28px 0;
    }

    .step1-badge {
        font-size: 0.85rem;
        padding: 8px 18px;
        margin-bottom: 12px;
    }

    .step1-header h1 {
        font-size: 2rem;
    }

    .step1-meta {
        font-size: 1rem;
    }

    /* Tabs */
    .step1-tabs {
        gap: 12px;
        margin-bottom: 28px;
    }

    .step1-tab-btn {
        max-width: 160px;
        padding: 14px 20px;
        font-size: 0.95rem;
        gap: 8px;
    }

    .step1-tab-btn i {
        font-size: 1rem;
    }

    /* Section */
    .step1-section {
        padding: 24px;
        margin-bottom: 20px;
    }

    .step1-section h2 {
        font-size: 1.3rem;
        margin-bottom: 16px;
        padding-bottom: 12px;
    }

    .step1-section p {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    /* Highlight */
    .step1-highlight {
        padding: 18px 20px;
        margin: 20px 0;
    }

    .step1-highlight i {
        font-size: 1.5rem;
    }

    /* Reason List */
    .step1-reason-list li {
        padding: 12px 0 12px 28px;
        font-size: 0.95rem;
    }

    /* Practice Card */
    .step1-practice-card {
        padding: 20px;
        margin-bottom: 16px;
    }

    .step1-practice-card h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .step1-practice-card p {
        font-size: 0.95rem;
        margin-bottom: 12px;
    }

    .step1-practice-card ul li {
        padding: 6px 0 6px 20px;
        font-size: 0.9rem;
    }

    /* Warning */
    .step1-warning {
        padding: 18px 20px;
    }

    .step1-warning i {
        font-size: 1.5rem;
    }

    .step1-warning p {
        font-size: 0.95rem;
    }

    /* Checklist */
    .step1-checklist {
        padding: 18px;
    }

    .step1-checklist-item {
        padding: 12px 0;
        gap: 12px;
    }

    .step1-checklist-item span {
        font-size: 0.95rem;
    }

    /* Media */
    .step1-caption {
        font-size: 0.9rem;
        margin-top: 12px;
    }

    .step1-audio-container {
        padding: 20px;
    }

    .step1-download-item {
        padding: 16px 20px;
    }

    .step1-download-item i {
        font-size: 1.5rem;
    }

    .step1-download-item span {
        font-size: 0.95rem;
    }

    /* Navigation */
    .step1-navigation {
        margin: 32px 0 40px 0;
    }

    .step1-nav-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
}