                                 /* /css/education.css */

/* General Styles */
.education-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
}

.progress-bar-bg {
    background-color: #e5e7eb; /* gray-200 */
    border-radius: 9999px;
    overflow: hidden;
    height: 1rem;
}

.progress-bar-fill {
    background-color: #22c55e; /* green-500 */
    height: 100%;
    border-radius: 9999px;
    text-align: center;
    color: white;
    font-size: 0.75rem;
    line-height: 1rem;
    transition: width 0.5s ease-in-out;
}

/* Lesson Construction Page */
.construction-section {
    background: #f8fafc; /* slate-50 */
    border: 1px solid #e2e8f0; /* slate-200 */
    border-radius: 0.5rem;
    padding: 1rem;
}
.construction-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b; /* slate-800 */
    margin-bottom: 0.75rem;
}
.editable-textarea {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid #cbd5e1; /* slate-300 */
    background-color: white;
    font-family: inherit;
    font-size: 0.875rem;
}
.editable-textarea:focus {
    border-color: #34d399;
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.5);
    outline: none;
}
.answer-example-list {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
    space-y: 0.5rem;
}
.answer-example-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}
.answer-example-item i.fa-check-circle { color: #16a34a; /* green-600 */ }
.answer-example-item i.fa-times-circle { color: #dc2626; /* red-600 */ }


/* Student Lesson Page */
.lesson-chat-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    height: 100%;
}
.lesson-pane {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    overflow-y: auto;
    max-height: calc(100vh - 12rem); /* Adjust based on header/footer */
}
.chat-pane {
    background-color: #f1f5f9; /* slate-100 */
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: calc(100vh - 12rem);
}
.chat-window {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    space-y: 1rem;
}
.chat-bubble {
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    max-width: 85%;
    line-height: 1.5;
}
.chat-bubble.user {
    background-color: #10b981; /* emerald-500 */
    color: white;
    border-bottom-right-radius: 0.25rem;
    align-self: flex-end;
}
.chat-bubble.ai {
    background-color: white;
    color: #334155; /* slate-700 */
    border-bottom-left-radius: 0.25rem;
    align-self: flex-start;
}
.chat-citation {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: bold;
    color: #2563eb; /* blue-600 */
    background-color: #dbeafe; /* blue-100 */
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    text-align: center;
    line-height: 1.25rem;
    cursor: pointer;
    margin-left: 0.25rem;
}
.chat-citation:hover {
    background-color: #93c5fd; /* blue-300 */
}
.highlight-lesson-content {
    background-color: #fefce8; /* yellow-50 */
    box-shadow: 0 0 10px #facc15; /* yellow-400 */
    border-radius: 0.25rem;
    transition: all 0.3s ease-in-out;
    padding: 0.25rem;
    margin: -0.25rem;
}
.chat-input-area {
    padding: 1rem;
    border-top: 1px solid #e2e8f0; /* slate-200 */
    background-color: #f8fafc; /* slate-50 */
}

/* Explore (Zork) Page */
.explore-container {
    height: calc(100vh - 10rem);
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr;
    gap: 1rem;
}
.explore-pane {
    background-color: #0f172a; /* slate-900 */
    color: #e2e8f0; /* slate-200 */
    border-radius: 0.5rem;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.explore-pane h2 {
    color: #94a8ff; /* A custom light blue for titles */
    border-bottom: 1px solid #334155; /* slate-700 */
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}
.status-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
}
.status-list li span:first-child {
    color: #94a3b8; /* slate-400 */
}
.interaction-window {
    flex-grow: 1;
    overflow-y: auto;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-family: 'Courier New', Courier, monospace;
}
.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}


/* Examination Results */
.qa-feedback-block {
    background-color: #f8fafc; /* slate-50 */
    border: 1px solid #e2e8f0; /* slate-200 */
    border-radius: 0.5rem;
    padding: 1.5rem;
}
.qa-feedback-block .question {
    font-weight: bold;
    color: #1e293b; /* slate-800 */
}
.qa-feedback-block .answer {
    background: white;
    padding: 1rem;
    margin: 0.75rem 0;
    border-radius: 0.25rem;
    border-left: 4px solid #3b82f6; /* blue-500 */
}
.qa-feedback-block .feedback {
    background: #f0fdf4; /* green-50 */
    padding: 1rem;
    border-radius: 0.25rem;
    border-left: 4px solid #16a34a; /* green-600 */
}
.proctor-student-list {
    background: #f1f5f9; /* slate-100 */
    border-radius: 0.5rem;
    padding: 0.5rem;
    overflow-y: auto;
}
.proctor-student-list a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    color: #334155; /* slate-700 */
    font-weight: 500;
}
.proctor-student-list a:hover {
    background-color: #e2e8f0; /* slate-200 */
}
.proctor-student-list a.active {
    background-color: #10b981; /* emerald-500 */
    color: white;
    font-weight: bold;
}