/* Style principal. Responsive : points de rupture Bootstrap (576 / 768 / 992 / 1200 / 1400). */
:root{ --secondary-dark:#0e94ac; --success:#22c55e; --success-dark:#16a34a; --success-hover:#16a34a; --danger:#f43f5e; --danger-dark:#e11d48; --warning:#f59e0b; --warning-dark:#d97706; --info:#38bdf8; --info-dark:#0284c7; --pop:#fb7185; --indigo:#6366f1; --purple:#a855f7; --pink:#ec4899; --dark:#171d33; --white:#ffffff; --card-color:var(--text); --font-size-xs:clamp(0.72rem, 0.68rem + 0.15vw, 0.8rem); --font-size-sm:clamp(0.82rem, 0.78rem + 0.18vw, 0.9rem); --font-size-base:clamp(0.95rem, 0.9rem + 0.2vw, 1rem); --font-size-lg:clamp(1.05rem, 1rem + 0.3vw, 1.2rem); --font-size-xl:clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem); --font-size-2xl:clamp(1.6rem, 1.4rem + 0.9vw, 2rem); --font-size-3xl:clamp(2rem, 1.7rem + 1.4vw, 2.6rem); --blur:20px; --inner-hi:inset 0 1px 0 rgba(255, 255, 255, 0.7); --glass-sh:0 10px 34px rgba(30, 41, 89, 0.12), var(--inner-hi); --radius-lg:28px; --radius-full:999px; --shadow-glass:0 12px 40px rgba(91, 118, 247, 0.18), var(--inner-hi); --shadow-lg:0 24px 60px rgba(30, 41, 89, 0.22), var(--inner-hi); --transition:all 0.35s cubic-bezier(0.22, 1, 0.36, 1); --spring:all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); --grad-pop:linear-gradient(135deg, var(--pop), var(--warning)); --container-max:1280px; --container-narrow:900px; --banner-max-height:20rem; }
html[data-bs-theme="dark"], html[data-theme="dark"], html.dark{ color-scheme:dark; --text:#e7ecfb; --text-muted:#9aa6c8; --white:#171d33; --light:#1b2340; --dark:#0d1226; --border:rgba(255, 255, 255, 0.12); --bg:#0a0f22; --body-bg:#0a0f22; --bg-card:#141a33; --card-bg:#141a33; --card-color:var(--text); --glass:rgba(26, 33, 58, 0.62); --glass-2:rgba(30, 38, 66, 0.8); --glass-soft:rgba(22, 28, 50, 0.45); --glass-brd:rgba(255, 255, 255, 0.14); --glass-brd-soft:rgba(255, 255, 255, 0.08); --inner-hi:inset 0 1px 0 rgba(255, 255, 255, 0.06); --glass-sh:0 12px 40px rgba(0, 0, 0, 0.55), var(--inner-hi); --shadow:0 12px 40px rgba(0, 0, 0, 0.55), var(--inner-hi); --shadow-hover:0 24px 66px rgba(0, 0, 0, 0.66), var(--inner-hi); --shadow-glass:0 14px 44px rgba(0, 0, 0, 0.6), var(--inner-hi); --shadow-lg:0 26px 70px rgba(0, 0, 0, 0.6), var(--inner-hi); background:var(--bg); }
html[data-bs-theme="dark"] body, html[data-theme="dark"] body, html.dark body{ background:var(--bg); color:var(--text); }
*, *::before, *::after{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ min-height:100vh; display:flex; flex-direction:column; position:relative; -webkit-font-smoothing:antialiased; font-size:16px; }
img, svg, video, canvas{ max-width:100%; height:auto; display:block; }
button{ font-family:inherit; }
@keyframes aurora{
    0%   { transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
    50%  { transform: translate3d(3vmax, -4vmax, 0) rotate(8deg) scale(1.08); }
    100% { transform: translate3d(-3vmax, 3vmax, 0) rotate(-6deg) scale(1.04); }
}
@keyframes pulse-badge{ 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes dropdownSlide{ from { opacity: 0; transform: translateY(-10px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes spin{ to { transform: rotate(360deg); } }
@keyframes float{ 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes fadeUp{ from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
::-webkit-scrollbar{ width:10px; height:10px; }
::-webkit-scrollbar-track{ background:transparent; }
::-webkit-scrollbar-thumb{ background:var(--grad-brand); border-radius:20px; border:2px solid transparent; background-clip:padding-box; }
.reveal, .reveal-two, .reveal-three, .animate-on-scroll{ opacity:1; transform:none; transition:opacity .48s ease, transform .48s cubic-bezier(.2,.7,.2,1); transition-delay:var(--reveal-delay,0ms); }
html.js .reveal:not(.visible), html.js .reveal-two:not(.visible), html.js .reveal-three:not(.visible), html.js .animate-on-scroll:not(.visible){ opacity:0; transform:translate3d(0,14px,0); }
.reveal.visible, .reveal-two.visible, .reveal-three.visible, .animate-on-scroll.visible{ opacity:1; transform:none; transition-delay:0ms; }
.highlight{ background:var(--grad-brand); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; color:transparent; }
h1, h2, h3, h4, h5, h6{ letter-spacing:-0.02em; line-height:1.2; word-break:break-word; overflow-wrap:anywhere; }
p{ overflow-wrap:anywhere; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0, 0, 0, 0); white-space:nowrap; border:0; }
.text-center{ text-align:center; }
.text-muted{ color:var(--text-muted); }
.mb-2{ margin-bottom:0.5rem; }
.mb-3{ margin-bottom:1rem; }
.mt-2{ margin-top:0.5rem; }
.container, .page-container{ width:min(100% - 2rem, var(--container-max)); margin-inline:auto; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible{ outline:2px solid var(--primary); outline-offset:2px; border-radius:4px; }
@media (prefers-reduced-motion: reduce){
html{ scroll-behavior:auto; }
*, *::before, *::after{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}
.logo{ font-family:var(--font-display); font-weight:700; display:flex; align-items:center; gap:0.6rem; text-decoration:none; transition:var(--spring); flex-shrink:0; }
.logo:hover{ transform:scale(1.03) rotate(-1deg); }
.logo img{ width:auto; max-width:170px; object-fit:contain; }
.logo span{ -webkit-background-clip:text; background-clip:text; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.banner-container .banner{ display:block; overflow:hidden; margin:0.5rem 0; border:1px solid var(--glass-brd-soft); transition:var(--transition); }
.banner-container .banner:hover{ transform:translateY(-2px); box-shadow:var(--shadow-hover); }
.banner-image{ display:block; width:100%; max-height:var(--banner-max-height, 20rem); object-fit:cover; }
.banner-sidebar .banner-image{ max-height:32rem; object-fit:contain; }
.evenement-banner{ display:block; overflow:hidden; padding:1.5rem clamp(1rem, 4vw, 2rem); color:#fff; text-align:center; }
.event-banner-image{ display:block; margin-inline:auto; border-radius:var(--radius-sm); }
.evenement-glow{ display:flex; align-items:center; justify-content:center; gap:0.6rem; flex-wrap:wrap; margin:0.75rem 0 0.5rem; font-family:var(--font-display); font-size:clamp(1.3rem, 2.5vw, 1.6rem); text-shadow:0 0 24px rgba(255, 255, 255, 0.55); }
.event-logo{ max-height:3.125rem; }
.event-message{ margin:0.5rem 0; color:rgba(255, 255, 255, 0.9); font-size:1.05rem; }
.evenement-banner .hashtag{ display:inline-block; margin-top:0.6rem; padding:0.3rem 1rem; border-radius:var(--radius-full); background:rgba(255, 255, 255, 0.2); font-weight:600; }
.breadcrumb{ width:min(100% - 2rem, var(--container-max)); margin:1.25rem auto; padding:0.7rem 1.5rem; background:var(--glass-soft); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border-radius:50px; font-size:0.9rem; display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:0.3rem; border:1px solid var(--glass-brd-soft); }
.breadcrumb a{ color:var(--primary); text-decoration:none; font-weight:500; font-size:0.9rem; }
.breadcrumb a i{ color:var(--primary); }
.breadcrumb .separator{ color:var(--text-muted); font-size:0.9rem; }
.breadcrumb span{ color:var(--text-muted); font-weight:500; font-size:0.9rem; }
.main-with-sidebar{ align-items:flex-start; gap:clamp(1rem, 3vw, 1.5rem); padding:0; }
.main-with-sidebar .sidebar{ flex:0 1 15rem; }
.main-with-sidebar .main-content{ flex:1 1 0; padding-block:0.5rem 2rem; }
.loading-overlay{ position:fixed; inset:0; background:rgba(238, 241, 251, 0.6); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); display:flex; align-items:center; justify-content:center; z-index:9999; opacity:0; visibility:hidden; transition:var(--transition); }
.loading-overlay.active{ opacity:1; visibility:visible; }
.loading-spinner{ width:48px; height:48px; border:4px solid var(--glass-brd); border-top-color:var(--primary); border-radius:50%; animation:spin 0.8s linear infinite; }
html[data-bs-theme="dark"] .loading-overlay, html[data-theme="dark"] .loading-overlay{ background:rgba(10, 15, 34, 0.6); }
@media (max-width:767.98px){
.logo{ order:1; font-size:1.25rem; }
.main-with-sidebar{ width:min(100% - 1.25rem, 48rem); flex-direction:column; }
.main-with-sidebar .sidebar, .main-with-sidebar .main-content{ width:100%; order:initial; }
.banner-container{ width:min(100% - 1.25rem, 48rem); }
.breadcrumb{ width:min(100% - 1.25rem, 48rem); justify-content:flex-start; border-radius:var(--radius-sm); }
}
@media (max-width:575.98px){
.logo{ max-width:calc(100% - 7rem); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.main-with-sidebar, .banner-container, .breadcrumb{ width:min(100% - 1rem, 30rem); }
}
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:0.55rem; padding:0.8rem 1.7rem; border:1px solid transparent; border-radius:50px; font-size:0.95rem; font-weight:600; font-family:var(--font-body); cursor:pointer; min-height:44px; line-height:1.2; }
.btn i{ color:inherit; font-size:1rem; }
.btn:active{ transform:translateY(-1px); }
.btn-primary{ background:var(--grad-brand); box-shadow:0 8px 24px color-mix(in srgb, var(--primary) 40%, transparent); }
.btn-primary i{ color:#fff; }
.btn-success{ background:linear-gradient(135deg, var(--success), #4ade80); color:#fff; }
.btn-success i{ color:#fff; }
.btn-danger{ background:linear-gradient(135deg, var(--danger), #fb7185); color:#fff; }
.btn-danger i{ color:#fff; }
.btn-warning{ background:linear-gradient(135deg, var(--warning), #fbbf24); color:#171717; }
.btn-warning i{ color:#171717; }
.btn-info{ background:linear-gradient(135deg, var(--info), var(--secondary)); color:#fff; }
.btn-info i{ color:#fff; }
.btn-outline{ background:var(--glass); border:1.5px solid var(--primary); color:var(--primary); }
.btn-outline i{ color:var(--primary); }
.btn-outline:hover{ background:var(--primary); color:#fff; }
.btn-outline:hover i{ color:#fff; }
.btn-secondary{ background:var(--glass-2); color:var(--text); border:1px solid var(--glass-brd); }
.btn-sm{ padding:0.5rem 1.1rem; font-size:0.85rem; border-radius:9px; min-height:36px; }
.btn-lg{ padding:1rem 2.2rem; font-size:1.05rem; }
.btn-block{ width:100%; }
.btn:disabled, .btn.disabled{ opacity:0.55; cursor:not-allowed; transform:none !important; box-shadow:none !important; }
.badge{ display:inline-flex; align-items:center; gap:0.3rem; padding:0.32rem 0.85rem; border-radius:50px; font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; line-height:1.4; }
.badge-info{ background:var(--info); color:#06283d; }
.badge-pulse{ animation:pulse-badge 2s infinite; }
.required-star{ color:var(--danger); }
.alert{ display:flex; align-items:center; gap:0.6rem; padding:0.9rem 1.1rem; border:1px solid var(--glass-brd); background:var(--glass-2); color:var(--text); font-size:0.92rem; font-weight:500; box-shadow:var(--glass-sh); backdrop-filter:blur(var(--blur)); -webkit-backdrop-filter:blur(var(--blur)); flex-wrap:wrap; margin-bottom:1rem; }
.alert i{ color:inherit; }
.alert-success{ background:color-mix(in srgb, var(--success) 16%, var(--glass-2)); border-color:color-mix(in srgb, var(--success) 40%, transparent); color:var(--success-dark); }
.alert-danger, .alert-error{ background:color-mix(in srgb, var(--danger) 16%, var(--glass-2)); border-color:color-mix(in srgb, var(--danger) 40%, transparent); color:var(--danger-dark); }
.alert-warning{ background:color-mix(in srgb, var(--warning) 18%, var(--glass-2)); border-color:color-mix(in srgb, var(--warning) 45%, transparent); color:var(--warning-dark); }
.alert-info{ background:color-mix(in srgb, var(--info) 16%, var(--glass-2)); border-color:color-mix(in srgb, var(--info) 40%, transparent); color:var(--info); }
.alert-dismissible{ justify-content:space-between; position:relative; padding-right:2.5rem; }
.close-alert{ cursor:pointer; font-size:1rem; padding:0.3rem; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; }
.close-alert:hover{ background:rgba(0, 0, 0, 0.08); }
.messages-container{ display:flex; flex-direction:column; gap:0.6rem; }
html[data-bs-theme="dark"] .alert-success, html[data-theme="dark"] .alert-success{ color:#6ee7a5; }
html[data-bs-theme="dark"] .alert-danger, html[data-theme="dark"] .alert-danger, html[data-bs-theme="dark"] .alert-error, html[data-theme="dark"] .alert-error{ color:#fda4b4; }
html[data-bs-theme="dark"] .alert-warning, html[data-theme="dark"] .alert-warning{ color:#fcd34d; }
html[data-bs-theme="dark"] .alert-info, html[data-theme="dark"] .alert-info{ color:#7dd3fc; }
.card{ backdrop-filter:blur(var(--blur)) saturate(150%); -webkit-backdrop-filter:blur(var(--blur)) saturate(150%); padding:clamp(1.1rem, 3vw, 2.5rem); margin:1.5rem auto; max-width:1100px; width:min(100% - 2rem, 1100px); transition:var(--transition); }
.card:hover{ box-shadow:var(--shadow-hover); }
.card h1{ font-size:clamp(1.5rem, 3vw, 2.4rem); margin-bottom:0.4rem; }
.card h2{ font-size:clamp(1.25rem, 2.4vw, 1.8rem); margin:1rem 0 0.5rem; }
.card h3{ font-size:clamp(1.1rem, 2vw, 1.3rem); margin:0.8rem 0 0.4rem; }
.card p{ color:var(--text-muted); font-size:1rem; line-height:1.8; }
.card hr{ border:none; border-top:1px solid var(--glass-brd-soft); margin:1.2rem 0; }
.card-header{ padding:0.9rem 1.2rem; margin:-1px -1px 1rem; background:var(--glass-2); border-bottom:1px solid var(--glass-brd); border-radius:var(--radius-sm) var(--radius-sm) 0 0; font-weight:600; }
.card-body{ padding:0 0.2rem; }
.card-primary{ border-left:4px solid var(--primary); }
.card-success{ border-left:4px solid var(--success); }
.card-danger{ border-left:4px solid var(--danger); }
.card-warning{ border-left:4px solid var(--warning); }
.card-info{ border-left:4px solid var(--info); }
.card-indigo{ border-left:4px solid var(--indigo); }
.card-purple{ border-left:4px solid var(--purple); }
.card-pink{ border-left:4px solid var(--pink); }
.icon-wrapper{ width:45px; height:45px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--primary); color:#fff; flex-shrink:0; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="tel"], input[type="url"], input[type="date"], input[type="datetime-local"], input[type="search"], input[type="file"], select, textarea, .form-control{ width:100%; padding:0.85rem 1rem; border:1px solid var(--glass-brd); border-radius:var(--radius-sm); font-size:1rem; font-family:var(--font-body); background:var(--glass-2); color:var(--text); transition:var(--transition); outline:none; -webkit-appearance:none; appearance:none; min-height:44px; }
textarea, textarea.form-control{ min-height:120px; resize:vertical; }
select, select.form-control{ cursor:pointer; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6784' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 1rem center; background-size:10px; padding-right:2.4rem; }
input:focus, select:focus, textarea:focus, .form-control:focus{ border-color:var(--primary); background:var(--white); box-shadow:0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent); }
input[type="checkbox"], input[type="radio"]{ width:18px; height:18px; accent-color:var(--primary); cursor:pointer; flex-shrink:0; }
input[type="file"]{ padding:0.6rem 0.8rem; cursor:pointer; }
label{ font-size:0.95rem; display:inline-block; margin-bottom:0.35rem; }
small, .help-text{ color:var(--text-muted); font-size:0.85rem; }
.form-group{ margin-bottom:1.3rem; }
.form-group label{ display:block; margin-bottom:0.4rem; font-weight:600; font-size:0.95rem; }
.form-row{ display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:1rem; }
.checkbox-group{ display:flex; align-items:center; gap:0.6rem; margin-bottom:0.8rem; }
.checkbox-group label{ margin-bottom:0; font-weight:500; }
.form-header{ text-align:center; margin-bottom:1.5rem; }
.course-checkbox-item{ display:flex; align-items:flex-start; gap:0.8rem; padding:1rem; background:var(--glass-soft); border-radius:var(--radius-sm); cursor:pointer; border:2px solid transparent; transition:var(--transition); }
.course-checkbox-item:hover{ background:var(--glass-2); }
.course-checkbox{ accent-color:var(--primary); width:18px; height:18px; margin-top:3px; flex-shrink:0; }
.image-preview{ margin-top:0.5rem; max-width:220px; border-radius:var(--radius); overflow:hidden; border:2px solid var(--border); }
.image-preview img{ width:100%; height:auto; display:block; }
.form-field{ display:grid; gap:0.35rem; margin-bottom:1rem; }
.form-field label{ color:var(--text-muted); font-size:var(--font-size-xs); font-weight:700; text-transform:uppercase; letter-spacing:0.04em; }
.form-error{ color:var(--danger-dark); font-size:var(--font-size-sm); }
.form-actions{ display:flex; justify-content:flex-end; gap:0.75rem; margin-top:0.5rem; flex-wrap:wrap; }
.stacked-form{ display:grid; gap:1rem; }
.stacked-form small{ color:var(--text-muted); }
.password-field{ position:relative; width:100%; }
.password-field input[type="password"], .password-field input[type="text"]{ padding:0.75rem 3.2rem 0.75rem 1rem !important; height:50px; }
.password-field .toggle-password{ position:absolute; right:12px; top:50%; transform:translateY(-50%); background:none; border:none; cursor:pointer; color:var(--text-muted); font-size:1.1rem; padding:6px; transition:var(--transition); z-index:2; border-radius:50%; line-height:1; display:flex; align-items:center; justify-content:center; width:36px; height:36px; }
.password-field .toggle-password:hover{ color:var(--primary); background:color-mix(in srgb, var(--primary) 8%, transparent); }
.password-field .toggle-password.visible i{ color:var(--primary); }
.auth-container{ padding:0; }
.auth-card{ background:var(--glass); backdrop-filter:blur(var(--blur)) saturate(150%); -webkit-backdrop-filter:blur(var(--blur)) saturate(150%); border-radius:var(--radius-lg); box-shadow:var(--shadow-glass); border:1px solid var(--glass-brd); }
.auth-card .auth-header{ margin-bottom:2rem; }
.auth-card .auth-header h2{ font-size:clamp(1.5rem, 3vw, 2rem); margin-bottom:0.25rem; }
.auth-card .auth-header p{ color:var(--text-muted); font-size:1rem; }
.auth-card .auth-links{ text-align:center; margin-top:1.4rem; padding-top:1.4rem; border-top:1px solid var(--glass-brd-soft); }
.auth-card .auth-links a{ color:var(--primary); font-weight:600; text-decoration:none; font-size:0.95rem; }
.auth-logo{ margin-bottom:1rem; }
.auth-logo img{ height:48px; width:auto; }
.table-responsive{ width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
table, .table{ width:100%; border-collapse:collapse; background:var(--glass-2); border-radius:var(--radius-sm); overflow:hidden; font-size:0.92rem; }
table thead, .table thead{ background:var(--body-bg); }
table th, .table th{ padding:0.8rem 1rem; text-align:left; color:var(--text); font-weight:700; font-size:0.85rem; text-transform:uppercase; letter-spacing:0.03em; white-space:nowrap; }
table td, .table td{ padding:0.8rem 1rem; color:var(--text); border-bottom:1px solid var(--border); vertical-align:middle; }
table tbody tr:last-child td, .table tbody tr:last-child td{ border-bottom:none; }
table tbody tr:hover, .table tbody tr:hover{ background:color-mix(in srgb, var(--primary) 5%, transparent); }
.table-striped tbody tr:nth-child(even){ background:color-mix(in srgb, var(--text-muted) 4%, transparent); }
code{ background:var(--body-bg); padding:0.2rem 0.5rem; border-radius:4px; font-size:0.88em; font-family:'SFMono-Regular', Consolas, monospace; }
pre{ background:var(--body-bg); padding:1rem; border-radius:var(--radius-sm); overflow-x:auto; font-size:0.9rem; white-space:pre-wrap; word-break:break-word; }
@media (max-width:575.98px){
table th, .table th, table td, .table td{ padding:0.6rem 0.7rem; font-size:0.85rem; }
}
.btn-reset{ display:inline-flex; align-items:center; gap:0.4rem; padding:0.7rem 1.2rem; border:1px solid var(--glass-brd); color:var(--text-muted); text-decoration:none; transition:var(--transition); cursor:pointer; font-size:0.9rem; }
.btn-reset i{ color:var(--text-muted); }
.btn-reset:hover{ color:var(--danger); border-color:var(--danger); }
.btn-reset:hover i{ color:var(--danger); }
.learning-path-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap:1.25rem; max-width:var(--container-max); margin:2rem auto 4rem; padding:0 clamp(1rem, 3vw, 1.5rem); align-items:stretch; justify-items:stretch; }
.empty-sections{ grid-column:1 / -1; text-align:center; padding:3rem 1.5rem; background:var(--glass); border-radius:var(--radius); border:1px solid var(--glass-brd); }
.empty-sections i{ font-size:3.5rem; color:var(--text-muted); opacity:0.3; margin-bottom:1rem; }
.empty-sections h3{ font-size:1.3rem; margin-bottom:0.5rem; }
.empty-sections p{ color:var(--text-muted); font-size:1rem; }
@media (min-width: 2000px){
.breadcrumb, .main-with-sidebar, .banner-container{ max-width:1600px; }
}
.lesson-detail-container, .lp-detail-container{ max-width:var(--container-narrow); margin:2rem auto; padding:0 clamp(1rem, 3vw, 1.5rem); }
.course-form-container{ max-width:var(--container-narrow); margin:2rem auto; padding:0 clamp(1rem, 3vw, 1.5rem); }
.quiz-grid, .quiz-grid-lesson{ display:grid; grid-template-columns:repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap:1.5rem; justify-items:stretch; }
.quiz-card{ padding:1.4rem; box-shadow:var(--shadow); border:1px solid var(--glass-brd-soft); transition:var(--transition); width:100%; }
.quiz-card:hover{ transform:translateY(-5px); box-shadow:var(--shadow-hover); }
.quiz-card h3, .quiz-card-header h3{ font-size:1.15rem; font-weight:700; margin-bottom:0.4rem; text-align:center; }
.quiz-card h3 a{ color:var(--text); text-decoration:none; }
.quiz-card h3 a:hover{ color:var(--primary); }
.quiz-card p, .quiz-desc{ color:var(--text-muted); font-size:0.95rem; margin-bottom:0.8rem; text-align:center; line-height:1.6; }
.quiz-card-header{ display:flex; justify-content:space-between; align-items:center; margin-bottom:0.5rem; gap:0.5rem; }
.quiz-card-header h3{ margin:0; text-align:left; }
.quiz-card .badge{ font-size:0.68rem; }
.quiz-footer, .quiz-section-lesson{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:0.6rem; margin-top:0.8rem; border-top:1px solid var(--glass-brd-soft); padding-top:0.6rem; }
.quiz-percent{ color:var(--text-muted); font-size:0.9rem; display:flex; align-items:center; gap:0.3rem; }
.section-list{ list-style:none; padding:0; margin:0.5rem auto 1.5rem; display:flex; flex-direction:column; gap:0.4rem; max-width:800px; }
.section-list li{ padding:0.9rem 1.2rem; background:var(--glass-soft); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); border-radius:var(--radius-sm); border:1px solid var(--glass-brd-soft); transition:var(--transition); }
.section-list li:hover{ background:var(--glass-2); border-color:color-mix(in srgb, var(--primary) 30%, transparent); transform:translateX(6px); }
.section-list li a{ display:flex; align-items:center; gap:0.7rem; color:var(--text); text-decoration:none; font-weight:500; transition:var(--transition); flex-wrap:wrap; }
.section-list li a i{ color:var(--primary); }
.section-list li a:hover{ color:var(--primary); }
.lesson-content, .lesson-description{ background:var(--glass-soft); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); padding:clamp(1.2rem, 3vw, 1.8rem) clamp(1.2rem, 4vw, 2.2rem); border-radius:var(--radius-sm); margin-bottom:1.5rem; border:1px solid var(--glass-brd-soft); transition:var(--transition); max-width:800px; margin-left:auto; margin-right:auto; }
.lesson-header{ text-align:center; margin-bottom:1.5rem; }
.lesson-order{ color:var(--text-muted); font-size:0.9rem; }
.lesson-info{ display:flex; align-items:center; gap:1rem; flex-wrap:wrap; }
.lesson-actions{ display:flex; align-items:center; gap:0.5rem; flex-wrap:wrap; }
.lesson-item{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; padding:1rem 1.2rem; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); transition:transform 0.2s, box-shadow 0.2s; }
.lesson-item:hover{ transform:translateY(-2px); box-shadow:var(--shadow); }
.lessons-progress{ display:flex; flex-direction:column; gap:0.8rem; }
.overall-progress{ margin-bottom:2rem; padding:1.4rem; background:var(--body-bg); border-radius:var(--radius); }
.course-progress-header{ margin-bottom:2rem; }
@media (max-width:767.98px){
.lesson-item{ flex-direction:column; align-items:stretch; }
.lesson-actions{ justify-content:flex-start; }
.dashboard-header, .quiz-card-header{ flex-direction:column; align-items:flex-start; }
}
.lp-card{ background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); transition:var(--transition); display:flex; flex-direction:column; }
.lp-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.lp-header{ padding:1.5rem; background:var(--grad-brand); color:#fff; }
.lp-body{ padding:1.25rem; flex:1; display:flex; flex-direction:column; gap:0.6rem; }
.lp-courses-list{ display:flex; flex-direction:column; gap:0.5rem; margin-top:0.5rem; }
.lp-course-item{ display:flex; align-items:center; justify-content:space-between; gap:0.6rem; padding:0.7rem 0.9rem; background:var(--glass-soft); border-radius:var(--radius-sm); border:1px solid var(--glass-brd-soft); flex-wrap:wrap; }
.lp-detail-header{ text-align:center; margin-bottom:1.5rem; }
@media (max-width:575.98px){
.lp-card, .lp-header, .lp-body{ width:100%; }
}
.learning-path-container{ max-width:var(--container-narrow); margin:2rem auto; padding:0 clamp(1rem, 3vw, 1.5rem); }
.sections-section{ margin:1.5rem auto; max-width:800px; }
.sections-section h2{ font-size:1.3rem; font-weight:700; margin-bottom:1rem; display:flex; align-items:center; gap:0.6rem; font-family:var(--font-display); }
.sections-section h2 i{ color:var(--primary); }
.quiz-card-lesson{ padding:1.3rem; box-shadow:var(--shadow); border:1px solid var(--glass-brd-soft); transition:var(--transition); }
.quiz-card-lesson:hover{ transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.quiz-card-lesson h3{ font-size:1.1rem; font-weight:700; margin-bottom:0.4rem; }
.quiz-card-lesson h3 a{ color:var(--text); text-decoration:none; }
.quiz-card-lesson h3 a:hover{ color:var(--primary); }
.quiz-card-lesson .quiz-desc{ color:var(--text-muted); font-size:0.9rem; margin-bottom:0.6rem; }
.quiz-card-lesson .quiz-footer{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:0.5rem; border-top:1px solid var(--glass-brd-soft); padding-top:0.6rem; }
.quiz-card-lesson .quiz-percent{ color:var(--text-muted); font-size:0.85rem; }
.quiz-card-lesson .btn-sm{ font-size:0.8rem; }
.tentatives-list{ display:flex; flex-direction:column; gap:0.5rem; margin-top:0.5rem; }
.tentative-item{ display:flex; align-items:center; gap:1rem; padding:0.6rem 1rem; background:var(--body-bg); border-radius:var(--radius); flex-wrap:wrap; }
.tentative-date{ font-size:0.9rem; color:var(--text-muted); flex:1; }
.tentative-item .badge{ font-size:0.75rem; }
.tentative-item .btn{ font-size:0.75rem; padding:0.3rem 0.8rem; }
@media (max-width:575.98px){
.tentative-item{ flex-direction:column; align-items:stretch; text-align:center; }
.tentative-item .badge{ align-self:center; }
.alert{ flex-direction:column; text-align:center; }
}
.quiz-container{ max-width:var(--container-narrow); margin:2rem auto; padding:0 clamp(1rem, 4vw, 1.5rem); }
.quiz-header{ text-align:center; margin-bottom:2rem; }
.quiz-progress{ margin-top:1.5rem; max-width:600px; margin-left:auto; margin-right:auto; }
.question-slide{ animation:fadeUp 0.3s ease; }
.options-list{ display:flex; flex-direction:column; gap:0.55rem; }
.option-label{ display:flex; align-items:center; gap:0.8rem; padding:0.75rem 1rem; background:var(--glass-soft); border-radius:var(--radius-sm); cursor:pointer; transition:var(--transition); border:2px solid transparent; }
.option-label:hover{ border-color:var(--primary); }
.option-input{ accent-color:var(--primary); width:18px; height:18px; flex-shrink:0; }
.upload-area{ border:2px dashed var(--glass-brd); border-radius:var(--radius-sm); padding:1.5rem; text-align:center; }
.upload-area i{ font-size:2.5rem; color:var(--primary); opacity:0.5; margin-bottom:0.5rem; }
.voice-recorder{ border:2px dashed var(--primary); border-radius:var(--radius-sm); padding:clamp(1.1rem, 4vw, 1.5rem); text-align:center; transition:all 0.3s ease; }
.btn-record{ width:80px; height:80px; border-radius:50%; background:var(--danger); color:#fff; border:none; font-size:2rem; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; box-shadow:0 4px 15px rgba(239, 68, 68, 0.3); touch-action:none; -webkit-touch-callout:none; -webkit-user-select:none; user-select:none; -webkit-tap-highlight-color:transparent; }
.btn-record:hover{ transform:scale(1.05); }
.btn-record:active{ transform:scale(0.95); }
.btn-record.recording{ background:#666; animation:pulse-rec 1s infinite; }
@keyframes pulse-rec{ 0% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); } 70% { box-shadow: 0 0 0 15px rgba(239,68,68,0); } 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); } }
.recording-wave{ display:flex; align-items:center; justify-content:center; gap:4px; height:50px; margin-top:1rem; }
.recording-wave .wave-bar{ width:5px; height:10px; background:var(--danger); border-radius:5px; animation:wave-bounce 1s ease-in-out infinite; }
.recording-wave .wave-bar:nth-child(1){ animation-delay:0s; height:15px; }
.recording-wave .wave-bar:nth-child(2){ animation-delay:0.1s; height:25px; }
.recording-wave .wave-bar:nth-child(3){ animation-delay:0.2s; height:35px; }
.recording-wave .wave-bar:nth-child(4){ animation-delay:0.3s; height:45px; }
.recording-wave .wave-bar:nth-child(5){ animation-delay:0.4s; height:50px; }
.recording-wave .wave-bar:nth-child(6){ animation-delay:0.5s; height:45px; }
.recording-wave .wave-bar:nth-child(7){ animation-delay:0.4s; height:35px; }
.recording-wave .wave-bar:nth-child(8){ animation-delay:0.3s; height:25px; }
.recording-wave .wave-bar:nth-child(9){ animation-delay:0.2s; height:15px; }
.recording-wave .wave-bar:nth-child(10){ animation-delay:0.1s; height:10px; }
@keyframes wave-bounce{ 0%, 100% { transform: scaleY(0.5); opacity: 0.5; } 50% { transform: scaleY(1); opacity: 1; } }
.quiz-navigation{ display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-top:1.5rem; flex-wrap:wrap; }
.quiz-navigation .btn{ flex:1 1 auto; min-width:130px; }
.quiz-dots{ display:flex; justify-content:center; gap:0.5rem; margin-top:1.5rem; flex-wrap:wrap; }
.quiz-dot{ width:12px; height:12px; border-radius:50%; background:var(--glass-soft); border:2px solid var(--glass-brd); cursor:pointer; transition:var(--transition); display:inline-block; }
.quiz-dot:hover{ transform:scale(1.3); }
@media (max-width:575.98px){
.quiz-navigation{ flex-direction:column; }
.quiz-navigation .btn{ width:100%; }
.btn-record{ width:68px; height:68px; font-size:1.6rem; }
}
.dashboard-container{ max-width:var(--container-max); margin:0 auto; padding:0 clamp(1rem, 3vw, 1.5rem); }
.dashboard-header{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; margin-bottom:2rem; }
.dashboard-row{ display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:1.25rem; margin-bottom:2rem; }
.dashboard-card{ background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:1.4rem; box-shadow:var(--shadow); transition:var(--transition); }
.dashboard-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-hover); }
.chart-container{ background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:1.4rem; box-shadow:var(--shadow); position:relative; min-height:260px; width:100%; }
.chart-container canvas{ max-width:100%; }
.last-updated{ color:var(--text-muted); font-size:0.85rem; }
.badges-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap:1.25rem; }
.badge-card{ background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:1.5rem 1.2rem; text-align:center; box-shadow:var(--shadow); transition:var(--transition); }
.badge-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-hover); }
.badge-card.earned{ border-color:var(--success); background:color-mix(in srgb, var(--success) 6%, var(--bg-card)); }
.badge-img{ width:90px; height:90px; object-fit:contain; margin:0 auto 0.8rem; }
.badge-icon{ width:90px; height:90px; margin:0 auto 0.8rem; border-radius:50%; background:var(--grad-brand); color:#fff; display:flex; align-items:center; justify-content:center; }
.badge-large{ object-fit:contain; margin:0 auto 1rem; }
.badge-icon-large{ width:160px; height:160px; margin:0 auto 1rem; border-radius:50%; background:var(--grad-brand); color:#fff; display:flex; align-items:center; justify-content:center; }
.leaderboard-tabs{ display:flex; gap:0.5rem; margin-bottom:1.25rem; flex-wrap:wrap; }
.tab-btn{ padding:0.6rem 1.2rem; border-radius:var(--radius-full); border:1px solid var(--glass-brd); background:var(--glass-2); color:var(--text-muted); cursor:pointer; font-weight:600; font-size:0.9rem; transition:var(--transition); min-height:40px; }
.tab-btn:hover{ color:var(--primary); }
.tab-btn.active{ background:var(--grad-brand); color:#fff; border-color:transparent; }
.tab-content{ display:none; }
.tab-content.active{ display:block; animation:fadeUp 0.3s ease; }
.leaderboard-list{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:0.5rem; }
.leaderboard-list li{ display:flex; align-items:center; gap:1rem; padding:0.8rem 1.1rem; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-sm); flex-wrap:wrap; }
.leaderboard-list .rank{ font-weight:800; color:var(--primary); min-width:2.5rem; font-family:var(--font-display); }
.leaderboard-list .name{ flex:1; font-weight:500; min-width:0; overflow-wrap:anywhere; }
.leaderboard-list .points{ font-weight:700; color:var(--success-dark); white-space:nowrap; }
.rank-summary{ display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:1rem; margin-bottom:1.5rem; }
.rank-card{ background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:1.25rem; text-align:center; box-shadow:var(--shadow); }
.rank-card h3{ font-size:0.9rem; color:var(--text-muted); margin-bottom:0.4rem; font-family:var(--font-body); font-weight:600; }
.big-number{ font-size:clamp(1.8rem, 4vw, 2.4rem); font-weight:800; color:var(--primary); font-family:var(--font-display); }
.current-tier{ text-align:center; margin:1.5rem 0; padding:1.25rem; background:var(--body-bg); border-radius:var(--radius); }
.current-tier img{ width:64px; height:64px; object-fit:contain; margin:0.5rem auto; }
.history-list{ list-style:none; padding:0; margin:0.5rem 0 0; display:flex; flex-direction:column; gap:0.4rem; }
.history-list li{ padding:0.6rem 0.9rem; background:var(--glass-soft); border-radius:var(--radius-sm); font-size:0.9rem; color:var(--text-muted); }
progress{ width:100%; height:10px; border-radius:var(--radius-full); overflow:hidden; accent-color:var(--primary); margin:0.6rem 0; }
progress::-webkit-progress-bar{ background:var(--border); border-radius:var(--radius-full); }
progress::-webkit-progress-value{ background:var(--grad-brand); border-radius:var(--radius-full); }
progress::-moz-progress-bar{ background:var(--grad-brand); border-radius:var(--radius-full); }
.todo-page, .todo-form-page{ width:min(100% - 2rem, 1100px); margin:2rem auto 4rem; }
.todo-header{ display:flex; align-items:flex-end; justify-content:space-between; gap:1.5rem; margin-bottom:1.5rem; flex-wrap:wrap; }
.todo-header h1, .todo-form-heading h1{ margin:0.25rem 0 0.45rem; color:var(--text); font-size:var(--font-size-3xl); }
.todo-header p, .todo-form-heading p, .todo-empty p, .todo-danger-card p{ max-width:42rem; margin:0; color:var(--text-muted); font-size:var(--font-size-base); }
.eyebrow{ display:inline-flex; align-items:center; gap:0.4rem; color:var(--primary); font-size:var(--font-size-xs); font-weight:800; letter-spacing:0.08em; text-transform:uppercase; }
.todo-stats{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:0.85rem; margin-bottom:1rem; }
.todo-stat{ display:flex; align-items:center; gap:0.75rem; min-width:0; padding:0.8rem 1rem; border:1px solid var(--glass-brd); border-radius:var(--radius); background:var(--glass-2); box-shadow:var(--glass-sh); }
.todo-stat-icon{ display:inline-flex; align-items:center; justify-content:center; width:2.5rem; height:2.5rem; flex:0 0 2.5rem; border-radius:0.85rem; background:color-mix(in srgb, var(--primary) 14%, transparent); color:var(--primary); }
.todo-stat-icon.todo-stat-pending{ background:color-mix(in srgb, var(--warning) 18%, transparent); color:var(--warning-dark); }
.todo-stat-icon.todo-stat-progress{ background:color-mix(in srgb, var(--info) 16%, transparent); color:var(--info); }
.todo-stat-icon.todo-stat-complete{ background:color-mix(in srgb, var(--success) 16%, transparent); color:var(--success-dark); }
.todo-stat strong{ display:block; color:var(--text); font-size:var(--font-size-xl); line-height:1.1; }
.todo-stat small{ display:block; margin-top:0.2rem; color:var(--text-muted); font-size:var(--font-size-xs); }
.todo-feedback{ min-height:1.2rem; font-size:0.85rem; color:var(--success-dark); }
.todo-panel, .todo-form-card{ padding:clamp(1rem, 3vw, 1.5rem); border:1px solid var(--glass-brd); border-radius:var(--radius); background:var(--glass-2); box-shadow:var(--glass-sh); }
.todo-panel{ margin-bottom:1rem; }
.todo-panel-title{ display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-bottom:1rem; flex-wrap:wrap; }
.todo-panel-title h2{ margin:0; color:var(--text); font-size:var(--font-size-lg); }
.text-link, .back-link{ color:var(--primary); font-weight:700; text-decoration:none; }
.text-link:hover, .back-link:hover{ text-decoration:underline; }
.todo-filter-bar{ display:grid; grid-template-columns:minmax(12rem, 1fr) repeat(2, minmax(8rem, 0.55fr)) auto; align-items:end; gap:0.75rem; }
.todo-filter-bar label:not(.todo-search){ display:grid; gap:0.35rem; }
.todo-filter-bar label > span{ color:var(--text-muted); font-size:var(--font-size-xs); font-weight:700; }
.todo-search{ display:flex; align-items:center; gap:0.5rem; min-width:0; padding:0 0.75rem; border:1px solid var(--glass-brd); border-radius:var(--radius-sm); background:var(--glass-soft); }
.todo-search:focus-within{ border-color:var(--primary); box-shadow:0 0 0 4px color-mix(in srgb, var(--primary) 14%, transparent); }
.todo-search i{ color:var(--text-muted); }
.todo-search input, .todo-filter-bar select, .stacked-form input, .stacked-form select, .stacked-form textarea{ width:100%; min-width:0; padding:0.7rem 0.8rem; border:1px solid var(--glass-brd); border-radius:var(--radius-sm); background:var(--glass-soft); color:var(--text); font:inherit; font-size:var(--font-size-base); }
.todo-search input{ padding-inline:0; border:0; outline:0; background:transparent; }
.todo-list{ display:grid; gap:0.75rem; }
.todo-card{ display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.1rem; border:1px solid var(--glass-brd); border-left:4px solid var(--primary); border-radius:var(--radius); background:var(--glass-2); box-shadow:var(--glass-sh); transition:var(--transition); }
.todo-card:hover{ transform:translateY(-2px); box-shadow:var(--shadow-hover); }
.todo-status-in_progress{ border-left-color:var(--info); }
.todo-status-completed{ border-left-color:var(--success); }
.todo-status-completed h2{ color:var(--text-muted); text-decoration:line-through; }
.todo-card-main{ display:flex; align-items:flex-start; gap:0.8rem; min-width:0; }
.todo-toggle{ display:inline-flex; align-items:center; justify-content:center; width:2rem; height:2rem; flex:0 0 2rem; margin-top:0.1rem; padding:0; border:2px solid var(--primary); border-radius:50%; background:transparent; color:transparent; cursor:pointer; transition:var(--transition); }
.todo-toggle:hover, .todo-toggle:focus-visible{ background:color-mix(in srgb, var(--primary) 12%, transparent); color:var(--primary); }
.todo-status-in_progress .todo-toggle{ border-color:var(--info); }
.todo-status-in_progress .todo-toggle, .todo-status-completed .todo-toggle{ color:#fff; background:var(--info); }
.todo-status-completed .todo-toggle{ border-color:var(--success); background:var(--success); }
.todo-toggle[data-loading="true"]{ opacity:0.6; cursor:wait; }
.todo-checkmark{ display:inline-flex; }
.todo-card-copy{ min-width:0; flex:1; }
.todo-card-copy h2{ overflow:hidden; margin:0; color:var(--text); font-size:var(--font-size-lg); text-overflow:ellipsis; white-space:nowrap; }
.todo-card-copy p{ margin:0.35rem 0 0; color:var(--text-muted); font-size:var(--font-size-sm); overflow-wrap:anywhere; }
.todo-meta{ display:flex; align-items:center; gap:0.65rem; flex-wrap:wrap; margin-top:0.65rem; color:var(--text-muted); font-size:var(--font-size-xs); }
.todo-priority, .todo-status-label{ display:inline-flex; padding:0.2rem 0.55rem; border-radius:var(--radius-full); background:color-mix(in srgb, var(--primary) 12%, transparent); color:var(--primary); font-weight:700; }
.todo-priority-high{ background:color-mix(in srgb, var(--danger) 14%, transparent); color:var(--danger-dark); }
.todo-priority-medium{ background:color-mix(in srgb, var(--warning) 18%, transparent); color:var(--warning-dark); }
.todo-priority-low{ background:color-mix(in srgb, var(--success) 14%, transparent); color:var(--success-dark); }
.todo-card-actions{ display:flex; flex:0 0 auto; gap:0.35rem; }
.icon-action{ display:inline-flex; align-items:center; justify-content:center; width:2.25rem; height:2.25rem; border-radius:var(--radius-sm); color:var(--text-muted); text-decoration:none; transition:var(--transition); }
.icon-action:hover, .icon-action:focus-visible{ background:color-mix(in srgb, var(--primary) 12%, transparent); color:var(--primary); }
.icon-action-danger:hover, .icon-action-danger:focus-visible{ background:color-mix(in srgb, var(--danger) 12%, transparent); color:var(--danger); }
.todo-empty{ padding:3.5rem 1rem; border:1px dashed var(--glass-brd); border-radius:var(--radius); text-align:center; }
.todo-empty-icon{ display:inline-flex; align-items:center; justify-content:center; width:2.5rem; height:2.5rem; border-radius:0.85rem; background:color-mix(in srgb, var(--primary) 14%, transparent); color:var(--primary); margin-bottom:0.9rem; }
.todo-empty h2{ margin:0 0 0.5rem; color:var(--text); font-size:var(--font-size-xl); }
.todo-empty .btn{ margin-top:1.25rem; }
.todo-form-page{ max-width:700px; }
.todo-form-page > .back-link{ display:inline-flex; gap:0.45rem; margin-bottom:1rem; }
.todo-form-heading{ display:flex; align-items:flex-start; gap:1rem; margin-bottom:1.5rem; flex-wrap:wrap; }
.todo-danger-card{ text-align:center; }
.todo-danger-card .todo-empty-icon{ background:color-mix(in srgb, var(--danger) 14%, transparent); color:var(--danger); }
.todo-danger-card .form-actions{ justify-content:center; }
.todo-update-error{ border-color:var(--danger); animation:todo-shake 0.35s ease-in-out; }
@keyframes todo-shake{ 0%, 100% { transform: translateX(0); } 35% { transform: translateX(-4px); } 70% { transform: translateX(4px); } }
@media (max-width:767.98px){
.todo-page, .todo-form-page{ width:min(100% - 1.25rem, 48rem); margin-top:1.25rem; }
.todo-header{ align-items:flex-start; flex-direction:column; }
.todo-header .btn{ width:100%; justify-content:center; }
.todo-stats{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
.todo-filter-bar{ grid-template-columns:1fr; }
.todo-filter-bar .btn{ justify-content:center; }
}
@media (max-width:575.98px){
.todo-page, .todo-form-page{ width:min(100% - 1rem, 30rem); }
.todo-card{ align-items:flex-start; flex-direction:column; }
.todo-card-actions{ align-self:flex-end; }
.todo-form-heading{ flex-direction:column; }
.form-actions{ flex-direction:column-reverse; }
.form-actions .btn{ width:100%; justify-content:center; }
}
.notifications-list{ display:flex; flex-direction:column; gap:0.7rem; }
.notification-item{ display:flex; justify-content:space-between; align-items:flex-start; gap:1rem; padding:1rem 1.2rem; background:var(--bg-card); border:1px solid var(--border); border-left:4px solid var(--border); border-radius:var(--radius-sm); cursor:pointer; transition:var(--transition); flex-wrap:wrap; }
.notification-item:hover{ transform:translateX(4px); box-shadow:var(--shadow); }
.notification-item.unread{ border-left-color:var(--primary); background:color-mix(in srgb, var(--primary) 5%, var(--bg-card)); }
.notification-content{ flex:1; min-width:0; }
.notification-content h3{ font-size:1rem; margin-bottom:0.3rem; }
.notification-content p{ color:var(--text-muted); font-size:0.9rem; margin-bottom:0.4rem; overflow-wrap:anywhere; }
.notification-date{ color:var(--text-muted); font-size:0.8rem; margin-right:0.6rem; }
.notification-link{ color:var(--primary); font-weight:600; text-decoration:none; font-size:0.85rem; margin-left:0.6rem; }
.notification-actions{ flex-shrink:0; }
@media (max-width:575.98px){
.notification-item{ flex-direction:column; }
.notification-actions{ align-self:flex-end; }
}
.sender{ font-size:0.78rem; font-weight:700; color:var(--primary); margin-bottom:0.2rem; }
.refresh-btn{ background:var(--glass-2); border:1px solid var(--glass-brd); color:var(--text-muted); border-radius:50%; width:40px; height:40px; display:inline-flex; align-items:center; justify-content:center; cursor:pointer; }
.hero{ grid-template-columns:1fr; gap:2.5rem; max-width:var(--container-max); justify-items:center; }
.section-header{ margin-bottom:clamp(1.5rem, 5vw, 3rem); }
.section-header .section-tag{ display:inline-block; background:var(--glass-2); color:var(--primary); border:1px solid color-mix(in srgb, var(--primary) 28%, transparent); padding:0.4rem 1.2rem; border-radius:50px; font-size:0.85rem; font-weight:600; margin-bottom:0.6rem; }
.section-header h2{ font-family:var(--font-display); }
.feature-card{ backdrop-filter:blur(var(--blur)) saturate(150%); -webkit-backdrop-filter:blur(var(--blur)) saturate(150%); text-align:center; transition:var(--spring); width:100%; }
.feature-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-hover); }
.feature-card .feature-icon-wrapper{ width:68px; height:68px; border-radius:20px; display:flex; align-items:center; justify-content:center; margin:0 auto 1rem; }
.feature-card .feature-icon-wrapper i.feature-icon{ color:#fff; font-size:1.9rem; }
.feature-card h3{ font-family:var(--font-display); }
.feature-card p{ margin-bottom:0.8rem; line-height:1.7; }
.testimonial-card{ backdrop-filter:blur(var(--blur)) saturate(150%); -webkit-backdrop-filter:blur(var(--blur)) saturate(150%); box-shadow:var(--glass-sh); transition:var(--spring); width:100%; }
.testimonial-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-hover); }
.testimonial-card .stars{ margin-bottom:0.6rem; }
.testimonial-card .stars i{ color:var(--warning); }
.testimonial-card p{ font-style:italic; color:var(--text); line-height:1.8; margin-bottom:1.1rem; }
@media (min-width:992px){
.hero{ grid-template-columns:1fr 1fr; }
}
.about-container{ width:100%; }
.about-header{ text-align:center; margin-bottom:2.5rem; }
.about-title{ font-size:clamp(1.5rem, 4vw, 2.2rem); font-weight:700; color:var(--text); margin-bottom:0.5rem; position:relative; display:inline-block; }
.about-title::after{ content:''; position:absolute; bottom:-6px; left:50%; transform:translateX(-50%); width:50px; height:3px; background:var(--primary); border-radius:2px; }
.about-subtitle{ font-size:1rem; color:var(--text-muted); margin-top:0.75rem; }
.about-grid{ display:grid; grid-template-columns:1fr; gap:1.5rem; align-items:start; margin-top:1rem; }
.about-content{ font-size:1rem; line-height:1.8; color:var(--text); }
.about-content p{ margin-bottom:1rem; }
.about-values{ margin-top:1.5rem; display:flex; flex-direction:column; gap:0.75rem; }
.value-item{ display:flex; align-items:center; gap:1rem; padding:0.75rem 1rem; background:var(--light); border-radius:var(--radius); border-left:4px solid var(--primary); transition:transform 0.2s, box-shadow 0.2s; }
.value-item:hover{ transform:translateX(5px); box-shadow:var(--shadow); }
.value-icon-wrapper{ width:44px; height:44px; display:flex; align-items:center; justify-content:center; background:var(--primary); color:#fff; border-radius:50%; flex-shrink:0; font-size:1.15rem; }
.value-item h4{ margin:0 0 0.15rem 0; font-size:1rem; font-weight:600; color:var(--text); }
.value-item p{ margin:0; font-size:0.9rem; color:var(--text-muted); }
.about-image-wrapper{ position:static; }
.about-image{ box-shadow:var(--shadow); transition:transform 0.3s; }
.about-image:hover{ transform:scale(1.01); }
.about-image-placeholder{ width:100%; aspect-ratio:4/3; display:flex; flex-direction:column; align-items:center; justify-content:center; background:var(--light); border-radius:var(--radius); border:2px dashed var(--border); color:var(--text-muted); }
.placeholder-icon{ font-size:3rem; margin-bottom:0.5rem; opacity:0.5; color:var(--text-muted); }
.about-footer{ margin-top:2rem; padding-top:1.5rem; border-top:1px solid var(--border); }
.about-footer-content{ max-width:800px; margin:0 auto; text-align:center; color:var(--text-muted); font-size:0.9rem; line-height:1.6; }
html[data-bs-theme="dark"] .value-item, html[data-theme="dark"] .value-item{ background:var(--dark); border-left-color:var(--primary); }
html[data-bs-theme="dark"] .value-icon-wrapper, html[data-theme="dark"] .value-icon-wrapper{ background:var(--primary); }
html[data-bs-theme="dark"] .about-image-placeholder, html[data-theme="dark"] .about-image-placeholder{ background:var(--dark); border-color:var(--border); }
html[data-bs-theme="dark"] .about-footer, html[data-theme="dark"] .about-footer{ border-top-color:var(--border); }
@media (min-width:992px){
.about-grid{ grid-template-columns:1fr 1fr; gap:2.5rem; }
.about-image-wrapper{ position:sticky; top:2rem; }
.about-image{ max-height:none; }
}
.color-palette{ margin-top:1.5rem; }
.color-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(100px, 1fr)); gap:1rem; margin-top:1rem; }
.color-item{ text-align:center; font-size:0.85rem; color:var(--text-muted); }
.color-box{ width:100%; aspect-ratio:1; border-radius:var(--radius-sm); margin-bottom:0.4rem; box-shadow:var(--shadow); border:1px solid var(--border); }
.component-preview{ margin-top:1.5rem; display:flex; flex-wrap:wrap; gap:0.6rem; align-items:center; }
.maintenance-container{ min-height:60vh; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:3rem 1.5rem; }
.maintenance-container i{ font-size:4rem; color:var(--warning); margin-bottom:1.25rem; }
.maintenance-container h1{ font-size:clamp(1.5rem, 4vw, 2.2rem); margin-bottom:0.75rem; }
.maintenance-container p{ color:var(--text-muted); max-width:480px; }
@media (max-width:767.98px){
.card{ padding:1.4rem 1.3rem; margin:1rem auto; }
.auth-card{ padding:1.8rem; }
.btn-reset{ min-width:unset; }
.quiz-grid, .quiz-grid-lesson{ grid-template-columns:1fr; }
.dashboard-row{ grid-template-columns:1fr 1fr; }
.badges-grid{ grid-template-columns:repeat(2, 1fr); }
.rank-summary{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width:575.98px){
.logo{ font-size:1.05rem; }
.logo img{ height:30px; }
.card{ padding:1.1rem; }
.btn{ font-size:0.88rem; padding:0.65rem 1.1rem; }
.btn-lg{ font-size:0.95rem; padding:0.75rem 1.4rem; }
.btn-sm{ font-size:0.8rem; padding:0.4rem 0.85rem; }
.todo-stats, .dashboard-row, .badges-grid, .rank-summary{ grid-template-columns:1fr; }
}
@media (max-width: 360px){
.card{ padding:0.9rem; margin:0.5rem auto; }
.btn{ padding:0.6rem 0.95rem; font-size:0.85rem; }
}
@media (min-width: 1920px){
body{ font-size:17px; }
}
@media (min-width: 2560px){
.container, .page-container{ max-width:1800px; }
.card, .lesson-detail-container{ max-width:1300px; }
}
img, video, iframe, table{ max-width:100%; }
[hidden]{ display:none !important; }
.feature-card .feature-icon-wrapper{ background:var(--feature-color, var(--grad-brand)); }
.btn-primary{ color:var(--on-primary, #fff); }
.map-embed{ display:block; width:100%; height:clamp(220px, 45vw, 380px); border:0; }
.banner-container{ overflow:hidden; }
.banner-container .banner-image, .banner-image{ width:100%; height:auto; display:block; }
body[class*="page-pages-"] .card h3, body[class*="page-pages-"] .card h4, .about-content h3, .about-content h4{ margin:1.25rem 0 0.5rem; }
body[class*="page-pages-"] .card ul, body[class*="page-pages-"] .card ol, .about-content ul, .about-content ol{ padding-left:1.4rem; margin:0.75rem 0; }
body[class*="page-pages-"] .card table, .about-content table{ display:block; overflow-x:auto; }
body[class*="page-pages-"] .card blockquote, .about-content blockquote{ margin:1rem 0; padding:0.6rem 1rem; border-left:4px solid var(--primary); color:var(--text-muted); }
.site-header{ position:sticky; top:0; z-index:1030; }
.site-header::before{ content:""; position:absolute; inset:0; z-index:-1; background:var(--glass); -webkit-backdrop-filter:blur(var(--blur, 14px)); backdrop-filter:blur(var(--blur, 14px)); pointer-events:none; }
.site-header .navbar{ --bs-navbar-padding-y:.5rem; --bs-navbar-color:var(--text); --bs-navbar-hover-color:var(--primary); --bs-navbar-active-color:var(--primary); --bs-navbar-brand-color:var(--text); --bs-navbar-brand-hover-color:var(--primary); --bs-navbar-toggler-border-color:var(--border); --bs-navbar-toggler-focus-width:.2rem; padding-top:calc(var(--bs-navbar-padding-y) + env(safe-area-inset-top, 0px)); }
.site-header .navbar-logo{ height:2rem; width:auto; max-width:8rem; }
.site-header .navbar-site-name{ max-width:9.5rem; }
@media (min-width:576px){
.site-header .navbar-site-name{ max-width:16rem; }
}
.site-header .nav-link{ display:flex; align-items:center; gap:.45rem; font-weight:600; border-radius:var(--radius-sm); }
.site-header .nav-link i{ width:1.1em; text-align:center; opacity:.85; }
@media (min-width:992px){
.site-header .navbar-nav .nav-link{ padding-inline:.7rem; }
.site-header .nav-link:hover, .site-header .nav-link.show{ background:var(--glass-soft); }
}
.site-header .nav-link.btn-nav-primary{ background:var(--grad-brand); color:var(--on-primary, #fff); padding-inline:1rem; }
.site-header .nav-link.btn-nav-primary:hover{ filter:brightness(1.06); color:var(--on-primary, #fff); }
.site-header .offcanvas{ --bs-offcanvas-bg:var(--bg-card); --bs-offcanvas-color:var(--text); --bs-offcanvas-width:min(22rem, 100vw); --bs-offcanvas-border-color:var(--border); }
.site-header .offcanvas-title{ font-family:var(--font-display); font-weight:800; }
@media (max-width:991.98px){
.site-header .navbar-nav .dropdown-menu{ border:0; background:transparent; padding-left:1.5rem; box-shadow:none; }
}
.site-header .dropdown-menu{ --bs-dropdown-bg:var(--bg-card); --bs-dropdown-color:var(--text); --bs-dropdown-border-color:var(--border); --bs-dropdown-border-radius:var(--radius-sm); --bs-dropdown-link-color:var(--text); --bs-dropdown-link-hover-color:var(--primary); --bs-dropdown-link-hover-bg:var(--glass-soft); --bs-dropdown-link-active-bg:var(--primary); --bs-dropdown-divider-bg:var(--border); --bs-dropdown-box-shadow:var(--shadow-hover); max-width:92vw; }
.site-header .dropdown-item{ display:flex; align-items:center; gap:.6rem; }
.site-header .dropdown-item i{ width:1.1em; text-align:center; color:var(--primary); }
.site-header .dropdown-item.text-danger i{ color:inherit; }
.site-header .header-search{ min-width:0; }
@media (min-width:992px){
.site-header .header-search{ width:11rem; }
}
.site-header .header-search .form-control{ background:var(--glass-soft); border-color:var(--border); color:var(--text); }
.site-header .header-search .btn{ background:var(--primary); border-color:var(--primary); color:var(--on-primary, #fff); }
.site-header .theme-toggle{ border:1px solid var(--border); color:var(--text); background:var(--glass-soft); }
.site-header .theme-toggle:hover{ color:var(--primary); }
.site-header .lang-switcher .form-select{ background-color:var(--glass-soft); border-color:var(--border); color:var(--text); min-width:6.5rem; }
.site-header .notification-link .badge{ font-size:.65rem; }
html[data-theme="dark"] .site-header .navbar-toggler-icon{ filter:invert(1); }
.site-header.scrolled{ box-shadow:var(--shadow-hover); }
.site-header.scrolled::before{ background:var(--glass-2); }
@media (min-width:992px) and (max-width:1399.98px){
.site-header .navbar-brand{ margin-right:.75rem; }
.site-header .navbar-site-name{ max-width:9rem; }
.site-header .lang-switcher .form-select{ min-width:5.5rem; padding-right:1.75rem; }
}
@media (min-width:992px){
.site-header .navbar > .container-xxl{ flex-wrap:nowrap; }
.site-header .offcanvas-body{ flex-wrap:nowrap; gap:.5rem; }
.site-header .navbar-nav{ flex-wrap:nowrap; }
}
.site-header .nav-link .badge{ position:absolute; top:.1rem; right:-.1rem; }
.site-header .notification-link{ position:relative; }
.auth-container{ display:block; }
.auth-card{ margin-inline:auto; }
.auth-card .auth-header{ display:flex; flex-direction:column; align-items:center; text-align:center; }
.auth-card .auth-header h1, .auth-card .auth-header h2, .auth-card .auth-header p{ text-align:center; max-width:36ch; margin-inline:auto; }
.auth-logo{ --auth-accent:var(--primary); display:flex; justify-content:center; align-items:center; margin:0 auto 1rem; width:100%; }
.auth-logo > i{ flex:0 0 auto; width:4.25rem; height:4.25rem; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; font-size:1.8rem; line-height:1; background:var(--auth-accent); color:var(--on-primary, #fff); box-shadow:0 6px 20px rgba(var(--primary-rgb), .25); }
.auth-logo.is-success{ --auth-accent:var(--success); }
.auth-logo.is-danger{ --auth-accent:var(--danger); }
.auth-logo.is-warning{ --auth-accent:var(--warning); }
.auth-logo.is-info{ --auth-accent:var(--info); }
.auth-logo.is-success > i{ color:var(--on-success, #fff); box-shadow:0 6px 20px rgba(var(--success-rgb), .25); }
.auth-card .auth-links{ display:flex; flex-direction:column; align-items:center; gap:.5rem; }
.auth-card .auth-links .btn-block, .auth-card .auth-links .btn{ width:100%; justify-content:center; }
.auth-card .btn-block, .auth-card .btn-lg{ display:flex; align-items:center; justify-content:center; gap:.5rem; width:100%; }
.about-image{ display:block; width:100%; height:auto; max-height:28rem; object-fit:cover; border-radius:var(--radius); }
.about-image-wrapper{ display:flex; justify-content:center; align-items:center; }
.event-logo{ height:2.5rem; width:auto; max-width:8rem; object-fit:contain; }
.event-banner-image{ width:100%; height:auto; max-height:12rem; object-fit:cover; }
.badge-img, .badge-large{ width:4.5rem; height:4.5rem; object-fit:contain; }
.badge-large{ width:8rem; height:8rem; }
.site-header .navbar-logo{ object-fit:contain; }
