@charset "utf-8";
/* CSS Document */

  :root {
            --primary-color: #2c3e50;
            --secondary-color: #3498db;
            --accent-color: #e74c3c;
            --light-color: #ecf0f1;
            --dark-color: #2c3e50;
            --success-color: #2ecc71;
            --warning-color: #f39c12;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
            font-size: 18px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }

        /* Estilos para las pestañas */
        .tabs-container {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            margin-bottom: 2rem;
        }

        .tabs {
            display: flex;
            background-color: var(--primary-color);
            overflow-x: auto;
        }

        .tab {
            padding: 1rem 1.5rem;
            background-color: var(--primary-color);
            color: white;
            cursor: pointer;
            border: none;
            font-size: 1rem;
            font-weight: 600;
            transition: background-color 0.3s ease;
            white-space: nowrap;
        }

        .tab:hover {
            background-color: #1a252f;
        }

        .tab.active {
            background-color: var(--secondary-color);
        }

        .tab-content {
            display: none;
            padding: 2rem;
        }

        .tab-content.active {
            display: block;
        }

        section {
            background-color: white;
            border-radius: 8px;
            padding: 2rem;
            margin-bottom: 2rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease;
            font-size: 1.2rem;
        }

        section:hover {
            transform: translateY(-5px);
        }

        h2 {
            color: var(--primary-color);
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--light-color);
            font-size: 2rem;
        }

        h3 {
            color: var(--secondary-color);
            margin: 1.5rem 0 1rem;
            font-size: 1.6rem;
        }

        p {
            margin-bottom: 1rem;
            text-align: justify;
        }

        ul, ol {
            margin-left: 1.5rem;
            margin-bottom: 1.5rem;
        }

        li {
            margin-bottom: 0.5rem;
        }

        .example {
            background-color: var(--light-color);
            border-left: 4px solid var(--secondary-color);
            padding: 1rem;
            margin: 1.5rem 0;
            border-radius: 0 4px 4px 0;
        }

        .example.correct {
            border-left-color: var(--success-color);
        }

        .example.error {
            border-left-color: var(--accent-color);
        }

        .example-title {
            font-weight: bold;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
        }

        .example-title::before {
            content: "";
            display: inline-block;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin-right: 8px;
        }

        .correct .example-title::before {
            background-color: var(--success-color);
        }

        .error .example-title::before {
            background-color: var(--accent-color);
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }

        th, td {
            padding: 0.75rem;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }

        th {
            background-color: var(--primary-color);
            color: white;
        }

        tr:nth-child(even) {
            background-color: #f9f9f9;
        }

        .btn {
            display: inline-block;
            background-color: var(--secondary-color);
            color: white;
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            transition: background-color 0.3s ease;
            text-decoration: none;
        }

        .btn:hover {
            background-color: #2980b9;
        }

        .btn-continue {
            display: block;
            width: 200px;
            margin: 2rem auto 0;
            text-align: center;
            background: linear-gradient(135deg, var(--secondary-color), #1a73e8);
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .btn-continue:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
        }

        .video-container {
            text-align: center;
            margin: 2rem 0;
        }

        /* Modal styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background-color: white;
            width: 90%;
            max-width: 800px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }

        .modal-header {
            background-color: var(--primary-color);
            color: white;
            padding: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .modal-header h3 {
            color: white;
            margin: 0;
        }

        .close-btn {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }

        .video-wrapper {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 aspect ratio */
            height: 0;
            overflow: hidden;
        }

        .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: none;
        }

        .reflection {
            background-color: #fff9e6;
            border-left: 4px solid var(--warning-color);
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 4px 4px 0;
        }

        .placeholder-content {
            background-color: #f8f9fa;
            border: 2px dashed #dee2e6;
            border-radius: 8px;
            padding: 3rem;
            text-align: center;
            margin: 2rem 0;
        }

        .placeholder-content h3 {
            color: #6c757d;
            margin-bottom: 1rem;
        }

        .placeholder-content p {
            color: #6c757d;
            text-align: center;
        }

        @media (max-width: 768px) {
            .tabs {
                flex-direction: column;
            }
            
            .tab {
                text-align: center;
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }
        }

        @media (max-width: 480px) {
            header h1 {
                font-size: 1.8rem;
            }
            
            header p {
                font-size: 1rem;
            }
            
            section, .tab-content {
                padding: 1rem;
                margin-bottom: 1.5rem;
            }
            
            h2 {
                font-size: 1.5rem;
            }
            
            h3 {
                font-size: 1.3rem;
            }
            
            .btn {
                width: 100%;
                padding: 1rem;
            }
            
            .btn-continue {
                width: 100%;
            }
            
            table {
                font-size: 0.8rem;
            }
            
            th, td {
                padding: 0.5rem;
            }
            
            .table-container {
                overflow-x: auto;
                margin: 1.5rem 0;
            }
        }
		
		/* Estilo para citas largas (bloque aparte) */
/* Estilo para citas largas (bloque aparte) */
.long-quote {
    margin: 1.5rem 0;
    padding-left: 48px; /* Aproximadamente 1.27cm */
    border-left: 3px solid var(--secondary-color);
    font-style: normal; /* SIN CURSIVA */
    background-color: #f8f9fa;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-right: 1rem;
    line-height: 1.6;
}

.quote-reference {
    margin-top: 0.5rem;
    font-style: normal;
    font-weight: bold;
}

/* Estilo para citas cortas (dentro del párrafo) */
.cita-corta {
    font-style: normal; /* SIN CURSIVA */
    color: #2c3e50;
    background-color: #f8f9fa;
    padding: 2px 4px;
    border-radius: 3px;
}

/* Quitar cursiva de elementos em dentro de citas */
.cita-corta em,
.long-quote em {
    font-style: normal !important; /* FORZAR texto normal */
}

.note {
    background-color: #fff9e6;
    border-left: 4px solid var(--warning-color);
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
    font-size: 1.2rem;
}

.warning {
    background-color: #ffeaa7;
    border-left: 4px solid #e74c3c;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 4px 4px 0;
    font-weight: bold;
}
		
		
/* Estilos para ejercicios */
.exercise {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 12px;
    border-left: 6px solid var(--secondary-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.exercise h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.question {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

/* Selects atractivos */
.answer-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.answer-select:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.answer-select.correct {
    border-color: var(--success-color);
    background-color: #e8f5e8;
}

.answer-select.incorrect {
    border-color: var(--accent-color);
    background-color: #fde8e8;
}

/* Textareas atractivas */
.attractive-textarea {
    width: 100%;
    height: 120px;
    padding: 16px;
    border: 2px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    resize: vertical;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: white;
}

.attractive-textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    transform: translateY(-2px);
}

.attractive-textarea.correct {
    border-color: var(--success-color);
    background-color: #e8f5e8;
}

.attractive-textarea.incorrect {
    border-color: var(--accent-color);
    background-color: #fde8e8;
}

/* Botones mejorados */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), #1a73e8);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.check-text {
    margin-top: 1rem;
    width: 100%;
}

.score-container {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 16px;
    margin-top: 3rem;
}

.score-display {
    font-size: 4rem;
    font-weight: bold;
    margin: 2rem 0;
}

.score {
    color: #fff;
}

.total {
    color: #ecf0f1;
    opacity: 0.8;
}

.score-message {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 1.5rem 0;
    min-height: 40px;
}

.exercise::after {
    content: "";
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    margin: 2.5rem 0;
}