2243 lines
36 KiB
CSS
2243 lines
36 KiB
CSS
:root {
|
||
--primary: #2563eb;
|
||
--primary-hover: #1d4ed8;
|
||
--text-main: #1e293b;
|
||
--text-muted: #64748b;
|
||
--text-light: #94a3b8;
|
||
--bg-page: #f8fafc;
|
||
--bg-card: #ffffff;
|
||
--border: #e2e8f0;
|
||
|
||
--success: #16a34a;
|
||
--warning: #d97706;
|
||
--urgent: #ea580c;
|
||
--danger: #dc2626;
|
||
|
||
--radius: 6px;
|
||
}
|
||
|
||
* {
|
||
box-sizing: border-box;
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
|
||
html,
|
||
body {
|
||
overflow-x: hidden;
|
||
max-width: 100%;
|
||
}
|
||
|
||
body {
|
||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
||
background-color: var(--bg-page);
|
||
color: var(--text-main);
|
||
line-height: 1.45;
|
||
font-size: 14px;
|
||
min-height: 100vh;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
|
||
code {
|
||
font-family: Menlo, Monaco, Consolas, monospace;
|
||
font-size: 0.9em;
|
||
background: #f1f5f9;
|
||
padding: 2px 4px;
|
||
border-radius: 3px;
|
||
}
|
||
|
||
/* ---------------- Header ---------------- */
|
||
.app-header {
|
||
background: var(--bg-card);
|
||
border-bottom: 1px solid var(--border);
|
||
width: 100%;
|
||
position: sticky;
|
||
top: 0;
|
||
z-index: 100;
|
||
}
|
||
|
||
.header-container {
|
||
max-width: 1080px;
|
||
margin: 0 auto;
|
||
padding: 10px 16px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 16px;
|
||
}
|
||
|
||
.brand-link {
|
||
text-decoration: none;
|
||
color: inherit;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.brand-name {
|
||
font-size: 1.15rem;
|
||
font-weight: 700;
|
||
color: var(--text-main);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.user-nav {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.user-id {
|
||
font-size: 0.85rem;
|
||
color: var(--text-muted);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
/* ---------------- Main Layout ---------------- */
|
||
.main-content {
|
||
flex: 1;
|
||
max-width: 1080px;
|
||
width: 100%;
|
||
margin: 0 auto;
|
||
padding: 18px 16px;
|
||
}
|
||
|
||
/* ---------------- Buttons ---------------- */
|
||
.btn {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding: 6px 14px;
|
||
font-size: 0.85rem;
|
||
font-weight: 500;
|
||
border-radius: var(--radius);
|
||
border: 1px solid transparent;
|
||
cursor: pointer;
|
||
text-decoration: none;
|
||
}
|
||
|
||
.btn:disabled {
|
||
opacity: 0.6;
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.btn-primary {
|
||
background-color: var(--primary);
|
||
color: white;
|
||
}
|
||
|
||
.btn-primary:hover:not(:disabled) {
|
||
background-color: var(--primary-hover);
|
||
}
|
||
|
||
.btn-secondary {
|
||
background-color: white;
|
||
border-color: var(--border);
|
||
color: var(--text-main);
|
||
}
|
||
|
||
.btn-secondary:hover:not(:disabled) {
|
||
background-color: #f1f5f9;
|
||
}
|
||
|
||
.btn-outline {
|
||
background: transparent;
|
||
border-color: var(--border);
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.btn-outline:hover {
|
||
background: #f1f5f9;
|
||
color: var(--text-main);
|
||
}
|
||
|
||
.btn-sm {
|
||
padding: 5px 10px;
|
||
font-size: 0.8rem;
|
||
}
|
||
|
||
.btn-block {
|
||
width: 100%;
|
||
}
|
||
|
||
/* ---------------- Login ---------------- */
|
||
.auth-wrapper {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
padding-top: 60px;
|
||
}
|
||
|
||
.auth-card {
|
||
background: var(--bg-card);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
padding: 28px 24px;
|
||
max-width: 360px;
|
||
width: 100%;
|
||
}
|
||
|
||
.auth-title {
|
||
font-size: 1.3rem;
|
||
font-weight: 700;
|
||
margin-bottom: 4px;
|
||
}
|
||
|
||
.auth-subtitle {
|
||
font-size: 0.85rem;
|
||
color: var(--text-muted);
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.auth-form {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 14px;
|
||
}
|
||
|
||
.form-group {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 5px;
|
||
}
|
||
|
||
.form-label {
|
||
font-size: 0.8rem;
|
||
font-weight: 600;
|
||
color: var(--text-main);
|
||
}
|
||
|
||
.form-control {
|
||
width: 100%;
|
||
padding: 8px 10px;
|
||
font-size: 0.9rem;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
background: white;
|
||
}
|
||
|
||
.form-control:focus {
|
||
outline: none;
|
||
border-color: var(--primary);
|
||
}
|
||
|
||
.form-row-between {
|
||
font-size: 0.85rem;
|
||
}
|
||
|
||
.checkbox-label {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
cursor: pointer;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.form-actions {
|
||
margin-top: 6px;
|
||
}
|
||
|
||
/* ---------------- Alerts ---------------- */
|
||
.alert {
|
||
padding: 8px 12px;
|
||
border-radius: var(--radius);
|
||
font-size: 0.85rem;
|
||
margin-bottom: 14px;
|
||
}
|
||
|
||
.alert-danger {
|
||
background: #fef2f2;
|
||
color: #991b1b;
|
||
border: 1px solid #fecaca;
|
||
}
|
||
|
||
.alert-info {
|
||
background: #eff6ff;
|
||
color: #1e40af;
|
||
border: 1px solid #bfdbfe;
|
||
}
|
||
|
||
/* ---------------- Dashboard Top Bar ---------------- */
|
||
.dashboard-topbar {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
flex-wrap: wrap;
|
||
gap: 12px;
|
||
margin-bottom: 18px;
|
||
}
|
||
|
||
.dashboard-title {
|
||
font-size: 1.4rem;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.dashboard-subtitle {
|
||
font-size: 0.85rem;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.dot-separator {
|
||
margin: 0 4px;
|
||
}
|
||
|
||
.sync-actions {
|
||
display: flex;
|
||
gap: 8px;
|
||
}
|
||
|
||
/* ---------------- Stats Grid ---------------- */
|
||
.stats-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
||
gap: 10px;
|
||
margin-bottom: 18px;
|
||
}
|
||
|
||
.stat-card {
|
||
background: var(--bg-card);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
padding: 12px 14px;
|
||
}
|
||
|
||
.stat-highlight {
|
||
border-left: 3px solid var(--warning);
|
||
}
|
||
|
||
.stat-label {
|
||
color: var(--text-muted);
|
||
font-size: 0.75rem;
|
||
text-transform: uppercase;
|
||
font-weight: 600;
|
||
letter-spacing: 0.02em;
|
||
}
|
||
|
||
.stat-value {
|
||
font-size: 1.45rem;
|
||
font-weight: 700;
|
||
margin: 4px 0 2px;
|
||
}
|
||
|
||
.stat-subtext {
|
||
font-size: 0.75rem;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.progress-bar-container {
|
||
background: #e2e8f0;
|
||
height: 4px;
|
||
border-radius: 9999px;
|
||
overflow: hidden;
|
||
margin-top: 6px;
|
||
}
|
||
|
||
.progress-bar-fill {
|
||
background: var(--success);
|
||
height: 100%;
|
||
border-radius: 9999px;
|
||
transition: width 0.3s;
|
||
}
|
||
|
||
/* ---------------- Subjects ---------------- */
|
||
.section-card {
|
||
background: var(--bg-card);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
margin-bottom: 16px;
|
||
}
|
||
|
||
.section-header {
|
||
padding: 10px 14px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
border-bottom: 1px solid var(--border);
|
||
font-size: 0.85rem;
|
||
font-weight: 600;
|
||
user-select: none;
|
||
}
|
||
|
||
.cursor-pointer {
|
||
cursor: pointer;
|
||
}
|
||
|
||
.toggle-indicator {
|
||
color: var(--text-muted);
|
||
font-size: 0.8rem;
|
||
}
|
||
|
||
.subject-breakdown-body {
|
||
padding: 12px 14px;
|
||
}
|
||
|
||
.subject-breakdown-body.collapsed {
|
||
display: none;
|
||
}
|
||
|
||
.subject-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
||
gap: 10px;
|
||
}
|
||
|
||
.subject-item {
|
||
background: #f8fafc;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
padding: 8px 10px;
|
||
}
|
||
|
||
.subject-info {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
margin-bottom: 4px;
|
||
font-size: 0.8rem;
|
||
}
|
||
|
||
.subject-name {
|
||
font-weight: 600;
|
||
}
|
||
|
||
.subject-fraction {
|
||
color: var(--text-muted);
|
||
font-size: 0.75rem;
|
||
}
|
||
|
||
.subject-bar {
|
||
background: #e2e8f0;
|
||
height: 4px;
|
||
border-radius: 9999px;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.subject-bar-fill {
|
||
background: var(--primary);
|
||
height: 100%;
|
||
border-radius: 9999px;
|
||
}
|
||
|
||
/* ---------------- Toolbar ---------------- */
|
||
.toolbar-card {
|
||
background: var(--bg-card);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
padding: 12px 14px;
|
||
margin-bottom: 12px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 10px;
|
||
}
|
||
|
||
.filter-tabs {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
}
|
||
|
||
.tab-btn {
|
||
background: #f1f5f9;
|
||
border: 1px solid transparent;
|
||
color: var(--text-muted);
|
||
padding: 4px 10px;
|
||
border-radius: var(--radius);
|
||
font-size: 0.8rem;
|
||
font-weight: 500;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.tab-btn:hover {
|
||
background: #e2e8f0;
|
||
}
|
||
|
||
.tab-btn.active {
|
||
background: var(--primary);
|
||
color: white;
|
||
}
|
||
|
||
.filter-controls {
|
||
display: flex;
|
||
gap: 8px;
|
||
}
|
||
|
||
.search-box {
|
||
flex: 1;
|
||
position: relative;
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
|
||
.search-input {
|
||
width: 100%;
|
||
padding: 6px 26px 6px 10px;
|
||
font-size: 0.85rem;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
}
|
||
|
||
.search-input:focus {
|
||
outline: none;
|
||
border-color: var(--primary);
|
||
}
|
||
|
||
.search-clear {
|
||
position: absolute;
|
||
right: 8px;
|
||
background: none;
|
||
border: none;
|
||
font-size: 1rem;
|
||
color: var(--text-light);
|
||
cursor: pointer;
|
||
}
|
||
|
||
.form-select {
|
||
padding: 6px 10px;
|
||
font-size: 0.85rem;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
background: white;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.list-meta {
|
||
font-size: 0.8rem;
|
||
color: var(--text-muted);
|
||
margin-bottom: 10px;
|
||
}
|
||
|
||
/* ---------------- Cards ---------------- */
|
||
.assignment-list {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
}
|
||
|
||
.assignment-card {
|
||
background: var(--bg-card);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
padding: 12px 14px;
|
||
display: flex;
|
||
gap: 12px;
|
||
}
|
||
|
||
.assignment-card.status-next-week:not(.is-completed) {
|
||
border-left: 3px solid var(--warning);
|
||
}
|
||
|
||
.assignment-card.status-due-soon:not(.is-completed) {
|
||
border-left: 3px solid var(--urgent);
|
||
}
|
||
|
||
.assignment-card.status-overdue:not(.is-completed) {
|
||
border-left: 3px solid var(--danger);
|
||
}
|
||
|
||
.assignment-card.status-active:not(.is-completed) {
|
||
border-left: 3px solid #38bdf8;
|
||
}
|
||
|
||
.assignment-card.is-completed {
|
||
border-left: 3px solid var(--success);
|
||
opacity: 0.65;
|
||
}
|
||
|
||
.assignment-card.is-completed .card-description {
|
||
text-decoration: line-through;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.card-checkbox-col {
|
||
padding-top: 2px;
|
||
}
|
||
|
||
.assignment-toggle {
|
||
width: 17px;
|
||
height: 17px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.card-content-col {
|
||
flex: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 6px;
|
||
}
|
||
|
||
.card-top-row {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
}
|
||
|
||
.card-subject-wrap {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
}
|
||
|
||
.card-subject {
|
||
font-size: 0.95rem;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.card-badges {
|
||
display: flex;
|
||
align-items: center;
|
||
flex-wrap: wrap;
|
||
gap: 4px;
|
||
}
|
||
|
||
.badge {
|
||
font-size: 0.725rem;
|
||
font-weight: 600;
|
||
padding: 1px 6px;
|
||
border-radius: 4px;
|
||
}
|
||
|
||
.badge-type {
|
||
background: #f1f5f9;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.badge-active {
|
||
background: #e0f2fe;
|
||
color: #0369a1;
|
||
}
|
||
|
||
.badge-next-week {
|
||
background: #fef3c7;
|
||
color: #b45309;
|
||
}
|
||
|
||
.badge-due-soon {
|
||
background: #ffedd5;
|
||
color: #c2410c;
|
||
}
|
||
|
||
.badge-overdue {
|
||
background: #fee2e2;
|
||
color: #b91c1c;
|
||
}
|
||
|
||
.badge-completed {
|
||
background: #dcfce7;
|
||
color: #15803d;
|
||
}
|
||
|
||
.badge-check-date {
|
||
background: #f3e8ff;
|
||
color: #7e22ce;
|
||
border: 1px solid #e9d5ff;
|
||
}
|
||
|
||
.badge-excluded {
|
||
background: #f1f5f9;
|
||
color: #64748b;
|
||
border: 1px solid #cbd5e1;
|
||
}
|
||
|
||
.btn-exclude,
|
||
.btn-disinclude {
|
||
font-family: inherit;
|
||
font-size: 0.725rem;
|
||
font-weight: 600;
|
||
line-height: inherit;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
padding: 1px 6px;
|
||
border-radius: 4px;
|
||
background: #f1f5f9;
|
||
color: #64748b;
|
||
border: 1px solid #e2e8f0;
|
||
cursor: pointer;
|
||
transition: all 0.15s ease;
|
||
user-select: none;
|
||
}
|
||
|
||
.btn-exclude:hover,
|
||
.btn-disinclude:hover {
|
||
background: #e2e8f0;
|
||
color: #334155;
|
||
border-color: #cbd5e1;
|
||
}
|
||
|
||
.btn-exclude:active,
|
||
.btn-disinclude:active {
|
||
background: #cbd5e1;
|
||
}
|
||
|
||
.btn-exclude:focus-visible,
|
||
.btn-disinclude:focus-visible {
|
||
outline: 2px solid var(--primary);
|
||
outline-offset: 1px;
|
||
}
|
||
|
||
.assignment-card.is-excluded {
|
||
opacity: 0.5;
|
||
background-color: #f8fafc;
|
||
border-left: 3px solid #94a3b8 !important;
|
||
}
|
||
|
||
.card-sub-meta {
|
||
font-size: 0.78rem;
|
||
color: var(--text-muted);
|
||
display: flex;
|
||
gap: 10px;
|
||
}
|
||
|
||
.card-description {
|
||
font-size: 0.88rem;
|
||
line-height: 1.45;
|
||
color: #1e293b;
|
||
white-space: pre-line;
|
||
word-break: break-word;
|
||
background: #f8fafc;
|
||
padding: 6px 10px;
|
||
border-radius: 4px;
|
||
}
|
||
|
||
.card-footer-row {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
font-size: 0.75rem;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.card-timestamps {
|
||
display: flex;
|
||
gap: 8px;
|
||
}
|
||
|
||
.card-hash {
|
||
font-family: Menlo, Monaco, monospace;
|
||
font-size: 0.7rem;
|
||
color: var(--text-light);
|
||
}
|
||
|
||
.empty-state {
|
||
background: var(--bg-card);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
padding: 24px;
|
||
text-align: center;
|
||
color: var(--text-muted);
|
||
font-size: 0.85rem;
|
||
}
|
||
|
||
.empty-state p {
|
||
margin-bottom: 8px;
|
||
}
|
||
|
||
.app-footer {
|
||
border-top: 1px solid var(--border);
|
||
padding: 12px 16px;
|
||
text-align: center;
|
||
font-size: 0.75rem;
|
||
color: var(--text-light);
|
||
margin-top: auto;
|
||
}
|
||
|
||
.hidden {
|
||
display: none !important;
|
||
}
|
||
|
||
@media (max-width: 600px) {
|
||
.dashboard-topbar {
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
}
|
||
.filter-controls {
|
||
flex-direction: column;
|
||
}
|
||
}
|
||
|
||
/* ---------------- Syllabus & Navigation Styles ---------------- */
|
||
.brand-group {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 20px;
|
||
min-width: 0;
|
||
flex: 1;
|
||
}
|
||
|
||
.main-nav {
|
||
display: flex;
|
||
gap: 6px;
|
||
overflow-x: auto;
|
||
-webkit-overflow-scrolling: touch;
|
||
scrollbar-width: none;
|
||
min-width: 0;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.main-nav::-webkit-scrollbar {
|
||
display: none;
|
||
}
|
||
|
||
.nav-item {
|
||
text-decoration: none;
|
||
color: var(--text-muted);
|
||
font-size: 0.85rem;
|
||
font-weight: 500;
|
||
padding: 4px 10px;
|
||
border-radius: var(--radius);
|
||
transition: all 0.15s ease;
|
||
flex-shrink: 0;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.nav-item:hover {
|
||
color: var(--text-main);
|
||
background: #f1f5f9;
|
||
}
|
||
|
||
.nav-item.active {
|
||
color: var(--primary);
|
||
font-weight: 600;
|
||
background: #eff6ff;
|
||
}
|
||
|
||
.station-select-row, .view-toggle-row {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.toolbar-label {
|
||
font-size: 0.8rem;
|
||
font-weight: 600;
|
||
color: var(--text-muted);
|
||
min-width: 55px;
|
||
}
|
||
|
||
.station-pills, .view-toggle-pills {
|
||
display: flex;
|
||
gap: 6px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.station-btn, .view-btn {
|
||
background: #f1f5f9;
|
||
border: 1px solid var(--border);
|
||
color: var(--text-main);
|
||
font-size: 0.8rem;
|
||
padding: 4px 10px;
|
||
border-radius: var(--radius);
|
||
cursor: pointer;
|
||
transition: all 0.15s ease;
|
||
}
|
||
|
||
.station-btn:hover, .view-btn:hover {
|
||
background: #e2e8f0;
|
||
}
|
||
|
||
.station-btn.active, .view-btn.active {
|
||
background: var(--primary);
|
||
border-color: var(--primary);
|
||
color: white;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.live-period-banner {
|
||
background: #eff6ff;
|
||
border: 1px solid #bfdbfe;
|
||
color: #1e40af;
|
||
padding: 8px 12px;
|
||
border-radius: var(--radius);
|
||
font-size: 0.85rem;
|
||
font-weight: 500;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
margin-bottom: 14px;
|
||
}
|
||
|
||
.live-dot {
|
||
color: #2563eb;
|
||
animation: pulse 1.5s infinite;
|
||
}
|
||
|
||
@keyframes pulse {
|
||
0% { opacity: 1; }
|
||
50% { opacity: 0.3; }
|
||
100% { opacity: 1; }
|
||
}
|
||
|
||
.day-tabs {
|
||
display: flex;
|
||
gap: 6px;
|
||
margin-bottom: 12px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.day-tab-btn {
|
||
background: var(--bg-card);
|
||
border: 1px solid var(--border);
|
||
color: var(--text-muted);
|
||
padding: 6px 12px;
|
||
border-radius: var(--radius);
|
||
font-size: 0.85rem;
|
||
font-weight: 500;
|
||
cursor: pointer;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
transition: all 0.15s ease;
|
||
}
|
||
|
||
.day-tab-btn:hover {
|
||
background: #f8fafc;
|
||
color: var(--text-main);
|
||
}
|
||
|
||
.day-tab-btn.active {
|
||
background: var(--primary);
|
||
border-color: var(--primary);
|
||
color: white;
|
||
}
|
||
|
||
.today-badge {
|
||
background: #fef3c7;
|
||
color: #b45309;
|
||
font-size: 0.7rem;
|
||
padding: 1px 4px;
|
||
border-radius: 3px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.day-tab-btn.active .today-badge {
|
||
background: rgba(255, 255, 255, 0.25);
|
||
color: white;
|
||
}
|
||
|
||
.day-count-badge {
|
||
background: #f1f5f9;
|
||
color: var(--text-muted);
|
||
font-size: 0.7rem;
|
||
padding: 1px 5px;
|
||
border-radius: 9999px;
|
||
}
|
||
|
||
.day-tab-btn.active .day-count-badge {
|
||
background: rgba(255, 255, 255, 0.2);
|
||
color: white;
|
||
}
|
||
|
||
.timetable-list {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
}
|
||
|
||
.timetable-row {
|
||
background: var(--bg-card);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
padding: 12px 16px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 16px;
|
||
}
|
||
|
||
.period-col {
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-width: 90px;
|
||
}
|
||
|
||
.period-num {
|
||
font-weight: 700;
|
||
font-size: 0.95rem;
|
||
}
|
||
|
||
.period-time {
|
||
font-size: 0.78rem;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.subject-col {
|
||
flex: 1;
|
||
}
|
||
|
||
.subject-title {
|
||
font-weight: 600;
|
||
font-size: 0.95rem;
|
||
color: var(--text-main);
|
||
}
|
||
|
||
.teacher-info {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
margin-top: 2px;
|
||
}
|
||
|
||
.teacher-thumb {
|
||
width: 20px;
|
||
height: 20px;
|
||
border-radius: 50%;
|
||
object-fit: cover;
|
||
}
|
||
|
||
.teacher-name {
|
||
font-size: 0.8rem;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.station-badge {
|
||
background: #fef3c7;
|
||
color: #b45309;
|
||
font-size: 0.75rem;
|
||
font-weight: 700;
|
||
padding: 2px 8px;
|
||
border-radius: 4px;
|
||
border: 1px solid #fde68a;
|
||
}
|
||
|
||
.class-badge {
|
||
background: #f1f5f9;
|
||
color: var(--text-muted);
|
||
font-size: 0.75rem;
|
||
padding: 2px 8px;
|
||
border-radius: 4px;
|
||
}
|
||
|
||
.table-responsive {
|
||
overflow-x: auto;
|
||
}
|
||
|
||
.week-grid-table {
|
||
width: 100%;
|
||
border-collapse: collapse;
|
||
background: var(--bg-card);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
font-size: 0.825rem;
|
||
}
|
||
|
||
.week-grid-table th, .week-grid-table td {
|
||
border: 1px solid var(--border);
|
||
padding: 8px 10px;
|
||
text-align: left;
|
||
vertical-align: top;
|
||
}
|
||
|
||
.week-grid-table th {
|
||
background: #f8fafc;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.grid-today-th {
|
||
background: #eff6ff !important;
|
||
color: var(--primary);
|
||
}
|
||
|
||
.grid-today-pill {
|
||
font-size: 0.68rem;
|
||
background: #dbeafe;
|
||
color: #1e40af;
|
||
padding: 1px 4px;
|
||
border-radius: 3px;
|
||
margin-left: 4px;
|
||
}
|
||
|
||
.grid-period-cell {
|
||
min-width: 80px;
|
||
background: #f8fafc;
|
||
}
|
||
|
||
.grid-period-title {
|
||
font-weight: 700;
|
||
}
|
||
|
||
.grid-period-time {
|
||
font-size: 0.725rem;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.grid-lesson-cell {
|
||
min-width: 135px;
|
||
}
|
||
|
||
.grid-lesson-cell.has-lesson {
|
||
background: #ffffff;
|
||
}
|
||
|
||
.grid-lesson-subject {
|
||
font-weight: 600;
|
||
font-size: 0.825rem;
|
||
}
|
||
|
||
.grid-lesson-teacher {
|
||
font-size: 0.75rem;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.grid-station-tag {
|
||
display: inline-block;
|
||
font-size: 0.68rem;
|
||
background: #fef3c7;
|
||
color: #b45309;
|
||
padding: 1px 4px;
|
||
border-radius: 3px;
|
||
margin-top: 3px;
|
||
}
|
||
|
||
.grid-empty-cell {
|
||
color: var(--text-light);
|
||
}
|
||
|
||
/* ---------------- Advisor Pill (Syllabus) ---------------- */
|
||
.advisor-row {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.advisor-pill {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
background: #f1f5f9;
|
||
border: 1px solid #e2e8f0;
|
||
padding: 3px 10px;
|
||
border-radius: 9999px;
|
||
font-size: 0.775rem;
|
||
}
|
||
|
||
.advisor-name {
|
||
font-weight: 600;
|
||
color: var(--text-main);
|
||
}
|
||
|
||
.advisor-sub {
|
||
color: var(--text-muted);
|
||
font-size: 0.7rem;
|
||
background: #e2e8f0;
|
||
padding: 1px 6px;
|
||
border-radius: 4px;
|
||
}
|
||
|
||
/* ---------------- Private Lessons (Özel Ders) ---------------- */
|
||
.student-profile-card {
|
||
background: var(--bg-card);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
padding: 14px 18px;
|
||
margin-bottom: 16px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 12px;
|
||
}
|
||
|
||
.student-profile-main {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 14px;
|
||
}
|
||
|
||
.student-avatar {
|
||
width: 52px;
|
||
height: 52px;
|
||
border-radius: 50%;
|
||
object-fit: cover;
|
||
border: 2px solid var(--border);
|
||
}
|
||
|
||
.student-meta {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 2px;
|
||
}
|
||
|
||
.student-name {
|
||
font-size: 1.05rem;
|
||
font-weight: 700;
|
||
margin: 0;
|
||
}
|
||
|
||
.student-school {
|
||
font-size: 0.8rem;
|
||
color: var(--text-muted);
|
||
margin: 0;
|
||
}
|
||
|
||
.student-advisor-badge {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
font-size: 0.775rem;
|
||
margin-top: 4px;
|
||
}
|
||
|
||
.advisor-badge-label {
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.student-policy-note {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
gap: 8px;
|
||
font-size: 0.775rem;
|
||
color: #92400e;
|
||
background: #fef3c7;
|
||
padding: 8px 12px;
|
||
border-radius: 6px;
|
||
border-left: 3px solid #f59e0b;
|
||
}
|
||
|
||
.policy-icon {
|
||
font-weight: 700;
|
||
}
|
||
|
||
/* Request Form */
|
||
.request-form-card {
|
||
background: var(--bg-card);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
padding: 18px 20px;
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.form-card-header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
margin-bottom: 16px;
|
||
padding-bottom: 10px;
|
||
border-bottom: 1px solid var(--border);
|
||
}
|
||
|
||
.form-header-badge {
|
||
font-size: 0.725rem;
|
||
font-weight: 600;
|
||
background: #e0f2fe;
|
||
color: #0369a1;
|
||
padding: 2px 8px;
|
||
border-radius: 4px;
|
||
}
|
||
|
||
.form-grid-3 {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||
gap: 14px;
|
||
margin-bottom: 16px;
|
||
}
|
||
|
||
.form-group {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 6px;
|
||
}
|
||
|
||
.form-label {
|
||
font-size: 0.8rem;
|
||
font-weight: 600;
|
||
color: var(--text-main);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
}
|
||
|
||
.select-loading {
|
||
font-size: 0.7rem;
|
||
font-weight: 400;
|
||
color: var(--primary);
|
||
}
|
||
|
||
.form-select {
|
||
padding: 8px 12px;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
background: #ffffff;
|
||
color: var(--text-main);
|
||
font-size: 0.875rem;
|
||
font-family: inherit;
|
||
transition: border-color 0.15s ease;
|
||
}
|
||
|
||
.form-select:focus {
|
||
outline: none;
|
||
border-color: var(--primary);
|
||
box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.08);
|
||
}
|
||
|
||
.form-select:disabled {
|
||
background: #f8fafc;
|
||
color: var(--text-light);
|
||
cursor: not-allowed;
|
||
}
|
||
|
||
.form-actions-row {
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
}
|
||
|
||
.form-feedback {
|
||
margin-top: 12px;
|
||
padding: 10px 14px;
|
||
border-radius: var(--radius);
|
||
font-size: 0.825rem;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.feedback-success {
|
||
background: #dcfce7;
|
||
color: #15803d;
|
||
border: 1px solid #bbf7d0;
|
||
}
|
||
|
||
.feedback-error {
|
||
background: #fee2e2;
|
||
color: #b91c1c;
|
||
border: 1px solid #fecaca;
|
||
}
|
||
|
||
/* Lessons List & Grid */
|
||
.lessons-section {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 18px;
|
||
}
|
||
|
||
.lessons-header-row {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
flex-wrap: wrap;
|
||
gap: 10px;
|
||
}
|
||
|
||
.lessons-title-wrap {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.lessons-count-badge {
|
||
background: #f1f5f9;
|
||
color: var(--text-muted);
|
||
font-size: 0.75rem;
|
||
font-weight: 700;
|
||
padding: 2px 7px;
|
||
border-radius: 9999px;
|
||
}
|
||
|
||
.subject-filter-pills {
|
||
display: flex;
|
||
align-items: center;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
}
|
||
|
||
.subject-pill-btn {
|
||
font-family: inherit;
|
||
font-size: 0.725rem;
|
||
font-weight: 600;
|
||
padding: 3px 10px;
|
||
border-radius: 9999px;
|
||
background: #f1f5f9;
|
||
color: var(--text-muted);
|
||
border: 1px solid transparent;
|
||
cursor: pointer;
|
||
transition: all 0.15s ease;
|
||
}
|
||
|
||
.subject-pill-btn:hover {
|
||
background: #e2e8f0;
|
||
color: var(--text-main);
|
||
}
|
||
|
||
.subject-pill-btn.active {
|
||
background: var(--text-main);
|
||
color: #ffffff;
|
||
}
|
||
|
||
.upcoming-lessons-group,
|
||
.past-lessons-group {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 10px;
|
||
}
|
||
|
||
.group-header {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
padding-bottom: 4px;
|
||
}
|
||
|
||
.group-title {
|
||
font-size: 0.85rem;
|
||
font-weight: 700;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.03em;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.lessons-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||
gap: 12px;
|
||
}
|
||
|
||
.lesson-card {
|
||
background: var(--bg-card);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
padding: 12px 14px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 10px;
|
||
transition: transform 0.15s ease, box-shadow 0.15s ease;
|
||
}
|
||
|
||
.lesson-card:hover {
|
||
transform: translateY(-1px);
|
||
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
|
||
}
|
||
|
||
.lesson-card.is-upcoming {
|
||
border-left: 3px solid var(--success);
|
||
}
|
||
|
||
.lesson-card-header {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
}
|
||
|
||
.lesson-date {
|
||
font-size: 0.775rem;
|
||
font-weight: 600;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.lesson-card-body {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
}
|
||
|
||
.lesson-teacher-photo {
|
||
width: 40px;
|
||
height: 40px;
|
||
border-radius: 50%;
|
||
object-fit: cover;
|
||
border: 1px solid var(--border);
|
||
}
|
||
|
||
.lesson-teacher-placeholder {
|
||
width: 40px;
|
||
height: 40px;
|
||
border-radius: 50%;
|
||
background: #f1f5f9;
|
||
color: var(--text-muted);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-weight: 700;
|
||
font-size: 1rem;
|
||
}
|
||
|
||
.lesson-info {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 2px;
|
||
}
|
||
|
||
.lesson-subject {
|
||
font-size: 0.95rem;
|
||
font-weight: 700;
|
||
margin: 0;
|
||
color: var(--text-main);
|
||
}
|
||
|
||
.lesson-teacher {
|
||
font-size: 0.8rem;
|
||
color: var(--text-muted);
|
||
margin: 0;
|
||
}
|
||
|
||
.empty-lessons-card {
|
||
background: var(--bg-card);
|
||
border: 1px dashed var(--border);
|
||
border-radius: var(--radius);
|
||
padding: 24px;
|
||
text-align: center;
|
||
color: var(--text-muted);
|
||
font-size: 0.875rem;
|
||
}
|
||
|
||
/* ==================================================== */
|
||
/* Exam Reports (Sınav Rapor) Styling */
|
||
/* ==================================================== */
|
||
|
||
.exam-filter-row {
|
||
margin-bottom: 14px;
|
||
}
|
||
|
||
.filter-pills {
|
||
display: flex;
|
||
gap: 8px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.filter-pill {
|
||
background: var(--bg-card);
|
||
border: 1px solid var(--border);
|
||
color: var(--text-muted);
|
||
padding: 5px 12px;
|
||
border-radius: var(--radius);
|
||
font-size: 0.825rem;
|
||
font-weight: 500;
|
||
cursor: pointer;
|
||
transition: all 0.15s ease;
|
||
}
|
||
|
||
.filter-pill:hover {
|
||
background: #f8fafc;
|
||
color: var(--text-main);
|
||
}
|
||
|
||
.filter-pill.active {
|
||
background: var(--primary);
|
||
border-color: var(--primary);
|
||
color: white;
|
||
font-weight: 600;
|
||
}
|
||
|
||
/* Exam Cards Strip */
|
||
.exam-cards-strip {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
|
||
gap: 12px;
|
||
margin-bottom: 24px;
|
||
}
|
||
|
||
.exam-pill-card {
|
||
background: var(--bg-card);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
padding: 12px 14px;
|
||
cursor: pointer;
|
||
transition: all 0.15s ease;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
}
|
||
|
||
.exam-pill-card:hover {
|
||
border-color: #cbd5e1;
|
||
transform: translateY(-1px);
|
||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
|
||
}
|
||
|
||
.exam-pill-card.active {
|
||
border-color: var(--primary);
|
||
box-shadow: 0 0 0 1.5px var(--primary);
|
||
background: #fdfdfe;
|
||
}
|
||
|
||
.exam-pill-header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.exam-type-badge {
|
||
font-size: 0.7rem;
|
||
font-weight: 700;
|
||
padding: 2px 6px;
|
||
border-radius: 4px;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.exam-type-tyt {
|
||
background: #e0f2fe;
|
||
color: #0369a1;
|
||
}
|
||
|
||
.exam-type-ayt {
|
||
background: #ede9fe;
|
||
color: #6d28d9;
|
||
}
|
||
|
||
.exam-type-other {
|
||
background: #f1f5f9;
|
||
color: #475569;
|
||
}
|
||
|
||
.exam-pill-name {
|
||
font-size: 0.85rem;
|
||
font-weight: 600;
|
||
color: var(--text-main);
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
flex: 1;
|
||
text-align: right;
|
||
}
|
||
|
||
.exam-pill-metrics {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: baseline;
|
||
gap: 8px;
|
||
}
|
||
|
||
.exam-pill-net {
|
||
font-size: 1.05rem;
|
||
color: var(--text-main);
|
||
display: flex;
|
||
align-items: baseline;
|
||
gap: 4px;
|
||
}
|
||
|
||
.net-unit {
|
||
font-size: 0.75rem;
|
||
color: var(--text-muted);
|
||
font-weight: 400;
|
||
}
|
||
|
||
.exam-pill-rank {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
}
|
||
|
||
.rank-badge {
|
||
font-size: 0.8rem;
|
||
font-weight: 600;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.delta-badge {
|
||
font-size: 0.7rem;
|
||
font-weight: 700;
|
||
padding: 1px 5px;
|
||
border-radius: 4px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
}
|
||
|
||
.delta-up {
|
||
background: #ecfdf5;
|
||
color: #047857;
|
||
}
|
||
|
||
.delta-down {
|
||
background: #fef2f2;
|
||
color: #b91c1c;
|
||
}
|
||
|
||
.delta-rank-badge {
|
||
font-size: 0.7rem;
|
||
font-weight: 700;
|
||
padding: 1px 4px;
|
||
border-radius: 4px;
|
||
}
|
||
|
||
.rank-up {
|
||
background: #eff6ff;
|
||
color: #1d4ed8;
|
||
}
|
||
|
||
.rank-down {
|
||
background: #fff1f2;
|
||
color: #be123c;
|
||
}
|
||
|
||
.exam-pill-rating {
|
||
margin-top: 2px;
|
||
}
|
||
|
||
/* Exam Detail Card */
|
||
.exam-detail-card {
|
||
background: var(--bg-card);
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
padding: 20px 24px;
|
||
margin-bottom: 24px;
|
||
}
|
||
|
||
.exam-detail-header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: flex-start;
|
||
gap: 16px;
|
||
margin-bottom: 20px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.detail-title-line {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
flex-wrap: wrap;
|
||
margin-bottom: 8px;
|
||
}
|
||
|
||
.exam-title-text {
|
||
font-size: 1.25rem;
|
||
font-weight: 700;
|
||
margin: 0;
|
||
color: var(--text-main);
|
||
}
|
||
|
||
.exam-type-tag {
|
||
font-size: 0.75rem;
|
||
font-weight: 700;
|
||
padding: 2px 8px;
|
||
border-radius: 4px;
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.detail-badge-line {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.detail-action-group {
|
||
display: flex;
|
||
gap: 8px;
|
||
align-items: center;
|
||
}
|
||
|
||
/* Exam Sub-Tabs */
|
||
.exam-subtabs {
|
||
display: flex;
|
||
gap: 8px;
|
||
border-bottom: 1px solid var(--border);
|
||
margin-bottom: 16px;
|
||
}
|
||
|
||
.subtab-btn {
|
||
background: transparent;
|
||
border: none;
|
||
border-bottom: 2px solid transparent;
|
||
color: var(--text-muted);
|
||
padding: 8px 14px;
|
||
font-size: 0.875rem;
|
||
font-weight: 500;
|
||
cursor: pointer;
|
||
transition: all 0.15s ease;
|
||
margin-bottom: -1px;
|
||
}
|
||
|
||
.subtab-btn:hover {
|
||
color: var(--text-main);
|
||
}
|
||
|
||
.subtab-btn.active {
|
||
color: var(--primary);
|
||
border-bottom-color: var(--primary);
|
||
font-weight: 600;
|
||
}
|
||
|
||
/* Exam Score Table */
|
||
.exam-score-table {
|
||
width: 100%;
|
||
border-collapse: collapse;
|
||
font-size: 0.875rem;
|
||
}
|
||
|
||
.exam-score-table th,
|
||
.exam-score-table td {
|
||
padding: 10px 12px;
|
||
border-bottom: 1px solid var(--border);
|
||
}
|
||
|
||
.exam-score-table th {
|
||
background: #f8fafc;
|
||
color: var(--text-muted);
|
||
font-size: 0.75rem;
|
||
font-weight: 600;
|
||
text-transform: uppercase;
|
||
letter-spacing: 0.03em;
|
||
}
|
||
|
||
.exam-score-table tbody tr:hover {
|
||
background: #fcfdfe;
|
||
}
|
||
|
||
.table-total-row {
|
||
background: #f8fafc;
|
||
border-top: 2px solid var(--border);
|
||
border-bottom: 2px solid var(--border);
|
||
}
|
||
|
||
.total-net-text {
|
||
font-size: 1rem;
|
||
color: var(--primary);
|
||
}
|
||
|
||
.badge-btn {
|
||
border: none;
|
||
border-radius: 4px;
|
||
font-weight: 600;
|
||
padding: 2px 8px;
|
||
font-size: 0.8rem;
|
||
cursor: pointer;
|
||
transition: transform 0.1s ease, filter 0.1s ease;
|
||
}
|
||
|
||
.badge-btn:hover {
|
||
transform: scale(1.08);
|
||
filter: brightness(0.95);
|
||
}
|
||
|
||
.score-progress-wrapper {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.score-progress-bar {
|
||
width: 75px;
|
||
height: 6px;
|
||
background: #e2e8f0;
|
||
border-radius: 9999px;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.score-progress-fill {
|
||
height: 100%;
|
||
border-radius: 9999px;
|
||
}
|
||
|
||
.fill-high {
|
||
background: #10b981;
|
||
}
|
||
|
||
.fill-mid {
|
||
background: #f59e0b;
|
||
}
|
||
|
||
.fill-low {
|
||
background: #ef4444;
|
||
}
|
||
|
||
.score-progress-pct {
|
||
font-size: 0.75rem;
|
||
color: var(--text-muted);
|
||
min-width: 32px;
|
||
text-align: right;
|
||
}
|
||
|
||
/* Topic Weakness View */
|
||
.weakness-loading-state,
|
||
.modal-loading-state {
|
||
padding: 30px;
|
||
text-align: center;
|
||
color: var(--text-muted);
|
||
font-size: 0.875rem;
|
||
}
|
||
|
||
.weakness-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
||
gap: 12px;
|
||
padding-top: 6px;
|
||
}
|
||
|
||
.weakness-card {
|
||
background: white;
|
||
border: 1px solid var(--border);
|
||
border-radius: var(--radius);
|
||
padding: 12px 14px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 6px;
|
||
}
|
||
|
||
.weakness-card-header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.weakness-subject {
|
||
font-size: 0.75rem;
|
||
font-weight: 700;
|
||
color: var(--primary);
|
||
text-transform: uppercase;
|
||
}
|
||
|
||
.weakness-topic {
|
||
font-size: 0.85rem;
|
||
font-weight: 600;
|
||
color: var(--text-main);
|
||
}
|
||
|
||
.weakness-stats {
|
||
display: flex;
|
||
gap: 12px;
|
||
font-size: 0.75rem;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
/* ==================================================== */
|
||
/* Mistake Review Modal */
|
||
/* ==================================================== */
|
||
|
||
.modal-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
background: rgba(15, 23, 42, 0.55);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
z-index: 1050;
|
||
padding: 16px;
|
||
backdrop-filter: blur(2px);
|
||
}
|
||
|
||
.modal-dialog.modal-xl {
|
||
background: white;
|
||
border-radius: 12px;
|
||
width: 100%;
|
||
max-width: 980px;
|
||
max-height: 90vh;
|
||
display: flex;
|
||
flex-direction: column;
|
||
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
||
overflow: hidden;
|
||
}
|
||
|
||
.modal-header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
padding: 14px 20px;
|
||
border-bottom: 1px solid var(--border);
|
||
background: white;
|
||
}
|
||
|
||
.modal-title-group {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 2px;
|
||
}
|
||
|
||
.modal-title {
|
||
font-size: 1.15rem;
|
||
font-weight: 700;
|
||
margin: 0;
|
||
color: var(--text-main);
|
||
}
|
||
|
||
.modal-subtitle {
|
||
font-size: 0.75rem;
|
||
color: var(--text-muted);
|
||
}
|
||
|
||
.modal-close-btn {
|
||
background: transparent;
|
||
border: none;
|
||
font-size: 1.5rem;
|
||
line-height: 1;
|
||
color: var(--text-muted);
|
||
cursor: pointer;
|
||
padding: 4px 8px;
|
||
border-radius: 4px;
|
||
}
|
||
|
||
.modal-close-btn:hover {
|
||
color: var(--text-main);
|
||
background: #f1f5f9;
|
||
}
|
||
|
||
.modal-filter-bar {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
padding: 10px 20px;
|
||
background: #f8fafc;
|
||
border-bottom: 1px solid var(--border);
|
||
gap: 12px;
|
||
flex-wrap: wrap;
|
||
}
|
||
|
||
.modal-lesson-pills {
|
||
display: flex;
|
||
gap: 6px;
|
||
overflow-x: auto;
|
||
max-width: 65%;
|
||
padding-bottom: 2px;
|
||
}
|
||
|
||
.modal-lesson-btn {
|
||
background: white;
|
||
border: 1px solid var(--border);
|
||
color: var(--text-muted);
|
||
padding: 4px 10px;
|
||
border-radius: var(--radius);
|
||
font-size: 0.775rem;
|
||
font-weight: 500;
|
||
white-space: nowrap;
|
||
cursor: pointer;
|
||
transition: all 0.15s ease;
|
||
}
|
||
|
||
.modal-lesson-btn:hover {
|
||
background: #f1f5f9;
|
||
color: var(--text-main);
|
||
}
|
||
|
||
.modal-lesson-btn.active {
|
||
background: var(--primary);
|
||
border-color: var(--primary);
|
||
color: white;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.modal-type-toggles {
|
||
display: flex;
|
||
gap: 4px;
|
||
}
|
||
|
||
.modal-type-btn {
|
||
background: white;
|
||
border: 1px solid var(--border);
|
||
color: var(--text-muted);
|
||
padding: 4px 8px;
|
||
border-radius: var(--radius);
|
||
font-size: 0.75rem;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.modal-type-btn.active {
|
||
background: #0f172a;
|
||
color: white;
|
||
border-color: #0f172a;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.modal-body {
|
||
padding: 20px;
|
||
overflow-y: auto;
|
||
flex: 1;
|
||
background: #f8fafc;
|
||
}
|
||
|
||
.questions-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
|
||
gap: 16px;
|
||
}
|
||
|
||
.question-card {
|
||
background: white;
|
||
border: 1px solid var(--border);
|
||
border-radius: 8px;
|
||
padding: 14px;
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 10px;
|
||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
|
||
}
|
||
|
||
.question-card-header {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
}
|
||
|
||
.question-no-badge {
|
||
font-size: 0.8rem;
|
||
font-weight: 700;
|
||
color: var(--text-main);
|
||
}
|
||
|
||
.question-subject-badge {
|
||
font-size: 0.75rem;
|
||
color: var(--text-muted);
|
||
font-weight: 500;
|
||
}
|
||
|
||
.question-card-answers {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
font-size: 0.8rem;
|
||
}
|
||
|
||
.answer-pill {
|
||
padding: 2px 8px;
|
||
border-radius: 4px;
|
||
font-weight: 600;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
}
|
||
|
||
.answer-correct {
|
||
background: #ecfdf5;
|
||
color: #047857;
|
||
border: 1px solid #a7f3d0;
|
||
}
|
||
|
||
.answer-student-wrong {
|
||
background: #fef2f2;
|
||
color: #b91c1c;
|
||
border: 1px solid #fecaca;
|
||
}
|
||
|
||
.answer-student-empty {
|
||
background: #f1f5f9;
|
||
color: #475569;
|
||
border: 1px solid #e2e8f0;
|
||
}
|
||
|
||
.question-img-wrapper {
|
||
background: #fafafa;
|
||
border: 1px solid #f1f5f9;
|
||
border-radius: 6px;
|
||
padding: 8px;
|
||
text-align: center;
|
||
cursor: zoom-in;
|
||
overflow: hidden;
|
||
display: flex;
|
||
justify-content: center;
|
||
}
|
||
|
||
.question-img {
|
||
max-width: 100%;
|
||
max-height: 480px;
|
||
height: auto;
|
||
object-fit: contain;
|
||
transition: transform 0.15s ease;
|
||
}
|
||
|
||
.question-img-wrapper:hover .question-img {
|
||
transform: scale(1.015);
|
||
}
|
||
|
||
/* Lightbox Overlay */
|
||
.lightbox-overlay {
|
||
position: fixed;
|
||
inset: 0;
|
||
background: rgba(0, 0, 0, 0.85);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
z-index: 1100;
|
||
padding: 20px;
|
||
cursor: zoom-out;
|
||
}
|
||
|
||
.lightbox-content {
|
||
position: relative;
|
||
max-width: 95vw;
|
||
max-height: 95vh;
|
||
}
|
||
|
||
.lightbox-content img {
|
||
max-width: 95vw;
|
||
max-height: 90vh;
|
||
object-fit: contain;
|
||
border-radius: 6px;
|
||
background: white;
|
||
padding: 6px;
|
||
}
|
||
|
||
.lightbox-close-btn {
|
||
position: absolute;
|
||
top: -40px;
|
||
right: 0;
|
||
background: transparent;
|
||
border: none;
|
||
color: white;
|
||
font-size: 2rem;
|
||
cursor: pointer;
|
||
line-height: 1;
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.header-container {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
padding: 8px 14px 6px;
|
||
gap: 8px 0;
|
||
}
|
||
|
||
.brand-group {
|
||
display: contents;
|
||
}
|
||
|
||
.brand-link {
|
||
order: 1;
|
||
flex-shrink: 0;
|
||
}
|
||
|
||
.user-nav {
|
||
order: 2;
|
||
flex-shrink: 0;
|
||
gap: 8px;
|
||
}
|
||
|
||
.user-id {
|
||
font-size: 0.775rem;
|
||
}
|
||
|
||
.main-nav {
|
||
order: 3;
|
||
width: 100%;
|
||
display: flex;
|
||
gap: 6px;
|
||
overflow-x: auto;
|
||
-webkit-overflow-scrolling: touch;
|
||
scrollbar-width: none;
|
||
padding: 4px 0 4px 0;
|
||
margin: 0 -14px;
|
||
padding-left: 14px;
|
||
padding-right: 14px;
|
||
}
|
||
|
||
.main-nav::-webkit-scrollbar {
|
||
display: none;
|
||
}
|
||
|
||
.nav-item {
|
||
font-size: 0.8rem;
|
||
padding: 5px 12px;
|
||
background: #f8fafc;
|
||
border: 1px solid var(--border);
|
||
}
|
||
|
||
.nav-item.active {
|
||
background: var(--primary);
|
||
border-color: var(--primary);
|
||
color: white;
|
||
}
|
||
|
||
.exam-cards-strip {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
.questions-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
.modal-filter-bar {
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
}
|
||
.modal-lesson-pills {
|
||
max-width: 100%;
|
||
}
|
||
}
|
||
|