﻿/**
 * Guided Mode CSS
 * ===============
 * עיצוב אחיד לכל הפרקים
 * 
 * 🔒 כל ה-classes מתחת ל-.guided-mode-* למניעת התנגשויות
 */

/* === כפתור כניסה === */
.guided-mode-entry {
    margin: 20px 0;
    text-align: center;
}

.btn-guided-mode {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

    .btn-guided-mode:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    }

.guided-icon {
    font-size: 20px;
}

/* === Container === */
.guided-mode-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* === שאלה === */
.gm-question-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.gm-progress {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
}

.gm-question-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: right;
}

/* === תשובות === */
.gm-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gm-answer-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    text-align: right;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .gm-answer-btn:hover {
        border-color: #667eea;
        background: #f5f7ff;
    }

/* === תוצאות === */
.gm-results {
    text-align: right;
}

    .gm-results h3 {
        font-size: 22px;
        margin-bottom: 25px;
        text-align: center;
    }

/* === הרגלי חשיבה === */
.gm-habits-section {
    background: #fff9e6;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

    .gm-habits-section h4 {
        color: #856404;
        margin-bottom: 15px;
        font-size: 16px;
    }

.gm-attention-habit {
    background: white;
    border-right: 4px solid #ffc107;
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #333;
}

/* === שורת חיבור === */
.gm-connector {
    text-align: center;
    padding: 15px 0;
    color: #666;
    font-size: 15px;
}

/* === חומרים === */
.gm-recommendations-section {
    background: #f0f7ff;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

    .gm-recommendations-section h4 {
        color: #0056b3;
        margin-bottom: 15px;
        font-size: 16px;
    }

.gm-recommendation {
    margin-bottom: 10px;
}

    .gm-recommendation a {
        display: block;
        padding: 12px 15px;
        background: white;
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.2s ease;
    }

        .gm-recommendation a:hover {
            transform: translateX(-5px);
        }

/* סרטון = ירוק */
.gm-resource-video a {
    border-right: 4px solid #28a745;
    color: #155724;
    background: #d4edda;
}

    .gm-resource-video a:hover {
        background: #c3e6cb;
    }

/* דף = כחול */
.gm-resource-page a {
    border-right: 4px solid #007bff;
    color: #004085;
    background: #cce5ff;
}

    .gm-resource-page a:hover {
        background: #b8daff;
    }

/* === כפתורים בתחתית === */
.gm-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.gm-back-btn,
.gm-restart-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.gm-back-btn {
    background: #6c757d;
    color: white;
}

    .gm-back-btn:hover {
        background: #5a6268;
    }

.gm-restart-btn {
    background: #667eea;
    color: white;
}

    .gm-restart-btn:hover {
        background: #5a6fd6;
    }

/* === אפשרויות המשך (Resume) === */
.gm-resume-options {
    text-align: center;
    padding: 20px;
}

.gm-resume-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.gm-resume-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.gm-view-results,
.gm-continue {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

    .gm-view-results:hover,
    .gm-continue:hover {
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
    }

.gm-start-new {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
}

/* === Responsive === */
@media (max-width: 600px) {
    .guided-mode-container {
        padding: 15px;
        margin: 10px;
    }

    .gm-question-text {
        font-size: 16px;
    }

    .gm-answer-btn {
        padding: 12px 15px;
        font-size: 14px;
    }

    .gm-buttons {
        flex-direction: column;
    }

    .gm-back-btn,
    .gm-restart-btn {
        width: 100%;
    }

    .gm-resume-buttons {
        flex-direction: column;
    }

    .btn-guided-mode {
        width: 100%;
        justify-content: center;
    }
}
/* =============================================
 * Guided Mode CSS - תוספות v2
 * =============================================
 * 📌 להוסיף לקובץ guidedMode.css הקיים
 * 📌 סגנונות חדשים לגישה הפדגוגית המעודכנת
 */

/* === מסך פתיחה (Intro) === */
.gm-intro-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.gm-intro-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.gm-intro-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.gm-intro-text {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.gm-intro-note {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 25px;
}

.gm-start-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

    .gm-start-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }

/* === Progress Bar === */
.gm-progress-container {
    margin-bottom: 20px;
}

.gm-progress-text {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 10px;
}

.gm-progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.gm-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* === הודעת עידוד (Encouragement) === */
.gm-encouragement {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === אפשרות להפסיק === */
.gm-stop-option {
    margin-top: 20px;
    text-align: center;
}

.gm-stop-btn {
    background: transparent;
    border: none;
    color: #6c757d;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 15px;
    transition: all 0.2s ease;
}

    .gm-stop-btn:hover {
        color: #495057;
        text-decoration: underline;
    }

/* === תוצאות - כרטיס === */
.gm-results-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.gm-result-icon {
    font-size: 56px;
    text-align: center;
    margin-bottom: 15px;
}

.gm-result-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #333;
    margin-bottom: 10px;
}

.gm-result-text {
    font-size: 16px;
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}

/* === הצלחות (Success Section) === */
.gm-success-section {
    background: linear-gradient(135deg, #d4edda 0%, #e8f5e9 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border-right: 4px solid #28a745;
}

.gm-success-title {
    font-size: 16px;
    font-weight: 600;
    color: #155724;
    margin-bottom: 10px;
}

.gm-success-list {
    color: #1e7e34;
    font-size: 15px;
    line-height: 1.8;
}

/* === טעויות (Errors Section) === */
.gm-errors-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.gm-errors-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

/* === נושא בודד - Core === */
.gm-topic-item {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

    .gm-topic-item:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

.gm-topic-core {
    border-right: 4px solid #dc3545;
    background: linear-gradient(90deg, #fff5f5 0%, white 100%);
}

    .gm-topic-core .gm-topic-note {
        color: #721c24;
        background: #f8d7da;
    }

/* === נושא בודד - Support === */
.gm-topic-support {
    border-right: 4px solid #ffc107;
    background: linear-gradient(90deg, #fffdf5 0%, white 100%);
}

    .gm-topic-support .gm-topic-note {
        color: #856404;
        background: #fff3cd;
    }

/* === שם הנושא === */
.gm-topic-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

/* === הערת חשיבות === */
.gm-topic-note {
    font-size: 13px;
    padding: 6px 12px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 10px;
}

/* === הרגלי חשיבה בתוך נושא === */
.gm-attention-habits {
    margin-top: 10px;
}

.gm-topic-item .gm-attention-habit {
    background: #f8f9fa;
    border-right: 3px solid #667eea;
    padding: 10px 12px;
    margin-bottom: 6px;
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    color: #495057;
}

/* === כפתור יצירת מסלול === */
.gm-create-path-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

    .gm-create-path-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.5);
    }

    .gm-create-path-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }

    .gm-create-path-btn.gm-success {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    }

/* === כפתור "אולי אחר כך" === */
.gm-later-btn {
    background: transparent;
    color: #6c757d;
    border: 2px solid #dee2e6;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .gm-later-btn:hover {
        border-color: #adb5bd;
        color: #495057;
    }

/* === כפתור המשך ללמוד === */
.gm-continue-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

    .gm-continue-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    }

/* === סטטוס הודעות === */
.gm-status-success {
    margin-top: 15px;
    padding: 12px 20px;
    background: #d4edda;
    border-radius: 8px;
    border: 1px solid #28a745;
    color: #155724;
    text-align: center;
}

.gm-status-warning {
    margin-top: 15px;
    padding: 12px 20px;
    background: #fff3cd;
    border-radius: 8px;
    border: 1px solid #ffc107;
    color: #856404;
    text-align: center;
}

/* === Responsive - תוספות === */
@media (max-width: 600px) {
    .gm-intro-card {
        padding: 30px 20px;
    }

    .gm-intro-title {
        font-size: 20px;
    }

    .gm-intro-text {
        font-size: 14px;
    }

    .gm-result-icon {
        font-size: 40px;
    }

    .gm-result-title {
        font-size: 20px;
    }

    .gm-topic-item {
        padding: 12px;
    }

    .gm-topic-name {
        font-size: 14px;
    }

    .gm-create-path-btn,
    .gm-continue-btn {
        width: 100%;
    }

    .gm-later-btn {
        width: 100%;
        margin-top: 10px;
    }
}