/* ─── Fahrplan-MPU.de – Custom Styles ─── */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
}

/* ─── Form Inputs ─── */
.form-input:focus {
    box-shadow: 0 0 0 3px rgba(0, 100, 180, 0.15);
}

.form-input::placeholder {
    color: #9CA3AF;
}

/* ─── Buttons ─── */
.btn-primary {
    background-color: #F08C00;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: #D07800;
}

/* ─── Learning Portal: Auto-save indicators ─── */
.field-saving {
    border-color: #F08C00 !important;
}

.field-saved {
    border-color: #10B981 !important;
    transition: border-color 0.3s ease;
}

/* ─── Learning Portal: Worksheet ─── */
.worksheet-checkbox {
    width: 1.25rem;
    height: 1.25rem;
    accent-color: #0064B4;
    cursor: pointer;
}

/* ─── Learning Portal: Progress bar animation ─── */
.progress-bar-fill {
    transition: width 0.6s ease-in-out;
}

/* ─── Prose content (module intro HTML) ─── */
.prose h3 {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #1A2332;
}

.prose p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.prose ul, .prose ol {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose li {
    margin-bottom: 0.25rem;
    line-height: 1.6;
}

.prose strong {
    font-weight: 600;
    color: #1A2332;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #F5F7FA;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}
