@import 'tailwindcss'; @import 'tw-animate-css'; @import 'shadcn/tailwind.css'; @custom-variant dark (&:is(.dark *)); @theme inline { --color-background: var(--background); --color-foreground: var(--foreground); --color-card: var(--card); --color-card-foreground: var(--card-foreground); --color-popover: var(--popover); --color-popover-foreground: var(--popover-foreground); --color-primary: var(--primary); --color-primary-foreground: var(--primary-foreground); --color-secondary: var(--secondary); --color-secondary-foreground: var(--secondary-foreground); --color-muted: var(--muted); --color-muted-foreground: var(--muted-foreground); --color-accent: var(--accent); --color-accent-foreground: var(--accent-foreground); --color-destructive: var(--destructive); --color-border: var(--border); --color-input: var(--input); --color-ring: var(--ring); --radius-sm: calc(var(--radius) * .65); --radius-md: calc(var(--radius) * .82); --radius-lg: var(--radius); --radius-xl: calc(var(--radius) * 1.35); --radius-2xl: calc(var(--radius) * 1.8); } :root { --background: #f4f7f9; --foreground: #122530; --card: #ffffff; --card-foreground: #122530; --popover: #ffffff; --popover-foreground: #122530; --primary: #0b6673; --primary-foreground: #ffffff; --secondary: #e7f0f1; --secondary-foreground: #174a52; --muted: #edf2f4; --muted-foreground: #647780; --accent: #e2f2ef; --accent-foreground: #0d5a63; --destructive: #c64145; --border: #dce5e8; --input: #cfdadd; --ring: #2c929a; --radius: .8rem; } @layer base { * { @apply border-border outline-ring/50; } body { @apply bg-background text-foreground; } } * { box-sizing: border-box; } html { min-width: 320px; } body { margin: 0; font-family: Vazirmatn, Tahoma, Arial, sans-serif; font-size: 16px; background: radial-gradient(circle at 82% 0%, rgba(32, 151, 150, .08), transparent 28rem), #f4f7f9; } button, input { font: inherit; } .spin { animation:spin .8s linear infinite; } @keyframes spin { to { transform:rotate(360deg); } } .topbar { height:76px; display:flex; align-items:center; gap:12px; padding:0 24px; border-bottom:1px solid var(--border); background:rgba(255,255,255,.92); backdrop-filter:blur(18px); position:sticky; top:0; z-index:40; } .brand-mark { width:42px; height:42px; border-radius:13px; display:grid; place-items:center; color:#fff; background:linear-gradient(145deg,#0b6673,#119a91); box-shadow:0 8px 24px rgba(11,102,115,.22); } .brand-mark svg { width:22px; } .brand-copy { display:flex; flex-direction:column; line-height:1.25; } .brand-copy strong { font-size:1.1rem; letter-spacing:-.02em; } .brand-copy span { color:var(--muted-foreground); font-size:.78rem; margin-top:4px; } .topbar-status { margin-inline-start:auto; font-size:.85rem; color:#536a73; display:flex; align-items:center; gap:8px; background:#f4f7f7; border:1px solid #e4ebed; padding:8px 12px; border-radius:999px; } .status-dot { width:8px; height:8px; border-radius:50%; background:#24a77c; box-shadow:0 0 0 4px rgba(36,167,124,.12); } .status-dot.is-empty { background:#9aabb1; box-shadow:0 0 0 4px rgba(115,137,145,.12); } .data-button { height:40px; padding-inline:14px; } .empty-start { min-height:calc(100vh - 76px); display:grid; place-items:center; padding:32px 20px; } .empty-start-card { width:min(590px,100%); display:flex; flex-direction:column; align-items:center; text-align:center; padding:52px 46px 42px; border:1px dashed #afc8cd; border-radius:28px; background:rgba(255,255,255,.9); box-shadow:0 24px 70px rgba(29,67,77,.08); } .empty-start-icon { width:70px; height:70px; display:grid; place-items:center; margin-bottom:18px; border-radius:22px; color:#fff; background:linear-gradient(145deg,#0b6673,#15978d); box-shadow:0 14px 34px rgba(11,102,115,.24); } .empty-start-icon svg { width:31px; height:31px; } .empty-start-card h1 { margin:6px 0 10px; font-size:1.7rem; letter-spacing:-.035em; } .empty-start-card > p:not(.eyebrow) { max-width:470px; margin:0 0 24px; color:#667b83; font-size:.9rem; line-height:1.95; } .empty-start-card > button { min-width:190px; height:46px; background:linear-gradient(135deg,#0b6673,#128f87); box-shadow:0 10px 25px rgba(11,102,115,.18); } .privacy-note { width:100%; display:grid; grid-template-columns:36px 1fr; align-items:center; gap:11px; margin-top:28px; padding:13px 15px; text-align:right; border:1px solid #d9ece8; border-radius:14px; background:#eef8f6; } .privacy-note > svg { width:34px; height:34px; padding:8px; border-radius:10px; color:#138374; background:#fff; } .privacy-note div { display:flex; flex-direction:column; gap:3px; } .privacy-note strong { font-size:.79rem; } .privacy-note span { color:#6e837f; font-size:.7rem; } .workspace-grid { max-width:1800px; margin:0 auto; padding:20px; display:grid; grid-template-columns:300px minmax(720px,1fr) 280px; gap:16px; align-items:start; } .control-panel,.schedule-panel,.suggestions-panel { background:rgba(255,255,255,.88); border:1px solid var(--border); box-shadow:0 16px 45px rgba(38,64,74,.05); } .control-panel,.suggestions-panel { border-radius:20px; padding:18px; position:sticky; top:96px; } .schedule-panel { border-radius:22px; padding:22px; min-width:0; } .panel-heading,.suggestions-head,.schedule-head,.section-title,.eyebrow-row,.calendar-title-row { display:flex; align-items:center; justify-content:space-between; gap:12px; } .panel-heading h1,.suggestions-head h2,.schedule-head h2 { margin:3px 0 0; font-size:1.12rem; letter-spacing:-.025em; } .eyebrow { margin:0; color:#768991; font-size:.74rem; font-weight:700; } .source-card { margin-top:18px; display:grid; grid-template-columns:38px 1fr 18px; align-items:center; gap:10px; padding:12px; border-radius:14px; background:#eef8f6; border:1px solid #d9eeea; } .source-icon { width:36px;height:36px;border-radius:11px;background:#fff;display:grid;place-items:center;color:#148377;box-shadow:0 4px 12px rgba(15,92,85,.08); } .source-icon svg,.source-check { width:17px; } .source-card div:nth-child(2) { display:flex; flex-direction:column; gap:3px; } .source-card strong { font-size:.83rem; } .source-card span { font-size:.7rem; color:#68817d; } .source-check { color:#1b9b73; } .rule-section { margin-top:22px; padding-top:20px; border-top:1px solid #e8eef0; } .section-title { margin-bottom:11px; font-size:.83rem; font-weight:700; } .section-title svg { width:16px; color:#6d8189; } .section-title > strong { color:#0b6673; font-size:.76rem; } .lock-card { display:grid; grid-template-columns:34px 1fr 20px; gap:9px; align-items:center; padding:10px; border:1px solid #dce7e9; border-radius:12px; margin-bottom:8px; background:#fbfdfd; } .lock-icon { width:32px; height:32px; border-radius:9px; background:#e0f0ef; color:#0b6673; display:grid; place-items:center; } .lock-icon svg { width:15px; } .lock-card div { display:flex; flex-direction:column; gap:2px; } .lock-card strong { font-size:.82rem; } .lock-card span { font-size:.72rem; color:#6d7f86; } .lock-card button { border:0; background:transparent; color:#93a1a6; font-size:1.1rem; cursor:pointer; } .range-labels { display:flex; justify-content:space-between; color:#89999f; font-size:.68rem; margin-top:8px; direction:ltr; } .priorities { display:grid; gap:10px; } .priorities .section-title { margin-bottom:0; } .priorities > button { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; font-size:.78rem; } .priorities > button { border:0; padding:2px 0; background:transparent; color:inherit; cursor:pointer; text-align:right; } .priorities > button:hover > span { color:#0b6673; } .priorities > button > span { display:flex; align-items:center; gap:7px; } .priorities svg { width:15px; color:#5f747d; } .include-full { display:flex; align-items:center; gap:8px; color:#657981; line-height:1.5; padding-top:3px; } .include-full label { font-size:.78rem; cursor:pointer; } .generate-button { margin-top:20px; width:100%; height:44px; background:linear-gradient(135deg,#0b6673,#128f87); box-shadow:0 10px 25px rgba(11,102,115,.18); } .generate-button:disabled { opacity:.72; } .view-tabs-row { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:20px; } .view-tabs-row > span { color:#7b8e95; font-size:.72rem; } .schedule-head { align-items:flex-start; padding-bottom:18px; } .schedule-head h2 { font-size:1.45rem; } .schedule-head p { margin:7px 0 0; color:#687b83; font-size:.82rem; max-width:580px; } .eyebrow-row { justify-content:flex-start; } .score-badge { background:#e5f5ec; color:#197552; box-shadow:none; } .semester-tabs { direction:rtl; height:40px; padding:4px; } .metrics-row { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid #e0e8ea; border-radius:16px; overflow:hidden; background:#fff; } .metrics-row > div { padding:14px 16px; display:grid; gap:3px; border-inline-start:1px solid #e8edef; } .metrics-row > div:first-child { border-inline-start:0; } .metrics-row span { color:#72858c; font-size:.72rem; } .metrics-row strong { font-size:1.18rem; } .metrics-row small { color:#97a5aa; font-size:.66rem; } .calendar-shell { margin-top:18px; border:1px solid #dde6e8; border-radius:17px; overflow:hidden; background:#fff; } .calendar-title-row { padding:14px 16px; border-bottom:1px solid #e4ebed; } .calendar-title-row > div:first-child { display:flex; align-items:baseline; gap:9px; } .calendar-title-row strong { font-size:.9rem; } .calendar-title-row span { color:#819197; font-size:.7rem; } .legend { display:flex; gap:12px; } .legend span { display:flex; align-items:center; gap:5px; } .legend i { width:8px;height:8px;border-radius:3px; } .legend-lock { background:#14978d; } .legend-normal { background:#9caeb4; } .week-grid { display:grid; grid-template-columns:58px repeat(6,minmax(92px,1fr)); overflow:auto; direction:rtl; } .contents { display:contents; } .time-corner,.day-head,.time-cell,.calendar-cell { min-height:74px; border-inline-start:1px solid #e7edef; border-bottom:1px solid #e7edef; } .time-corner,.day-head { min-height:42px; display:grid; place-items:center; background:#f8fafb; color:#60747c; font-size:.72rem; font-weight:700; position:sticky; top:0; z-index:2; } .time-cell { direction:ltr; padding-top:9px; text-align:center; color:#89989e; font-size:.66rem; background:#fbfcfc; } .calendar-cell { padding:4px; background-image:linear-gradient(to bottom,transparent 49%,rgba(225,232,235,.5) 50%,transparent 51%); } .course-block { height:65px; border-radius:10px; padding:7px 8px; display:flex; flex-direction:column; justify-content:space-between; border:1px solid transparent; overflow:hidden; transition:.18s ease; } .course-block:hover { transform:translateY(-1px); filter:saturate(1.1); } .course-block div { display:flex; align-items:center; justify-content:space-between; gap:4px; } .course-block strong { font-size:.72rem; white-space:nowrap; } .course-block span { font-size:.61rem; opacity:.72; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .course-block small { font-size:.58rem; opacity:.72; direction:ltr; text-align:right; } .course-block svg { width:12px; } .tone-blue { background:#e7f0fc; color:#275e93; border-color:#d2e3f7; } .tone-teal { background:#e3f5f1; color:#126a66; border-color:#cce9e3; } .tone-amber { background:#fff1d9; color:#8b5e17; border-color:#f5dfb9; } .tone-violet { background:#eee9fb; color:#665095; border-color:#ddd4f4; } .tone-rose { background:#fbe8e8; color:#8e4a50; border-color:#f2d4d6; } .tone-indigo { background:#e7ebfb; color:#4f5f9c; border-color:#d6ddf7; } .is-locked { box-shadow:inset -3px 0 #14978d; } .selected-lessons { margin-top:16px; border:1px solid #dde6e8; border-radius:17px; background:#fff; overflow:hidden; } .lesson-chip-list { display:flex; flex-wrap:wrap; gap:8px; padding:14px 16px 16px; } .lesson-chip-list > span { display:grid; grid-template-columns:8px auto; align-items:center; gap:1px 7px; padding:8px 10px; border:1px solid #e2e9eb; border-radius:11px; background:#fbfcfc; font-size:.72rem; font-weight:700; } .lesson-chip-list small { grid-column:2; color:#84949a; font-size:.62rem; font-weight:400; } .tone-dot { width:7px; height:7px; border-radius:50%; grid-row:1 / span 2; } .tone-bg-blue { background:#5590c9; }.tone-bg-teal { background:#1e958a; }.tone-bg-amber { background:#d59a35; } .tone-bg-violet { background:#826db5; }.tone-bg-rose { background:#bd6a70; }.tone-bg-indigo { background:#6878b9; } .classes-head { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; margin:4px 0 18px; } .classes-head h2 { margin:3px 0 6px; font-size:1.42rem; letter-spacing:-.025em; } .classes-head p:not(.eyebrow) { margin:0; color:#687b83; font-size:.8rem; } .filters-row { display:grid; grid-template-columns:minmax(280px,1fr) 190px; gap:10px; margin-bottom:14px; } .data-warning { display:grid; grid-template-columns:34px 1fr; gap:10px; align-items:center; margin:-4px 0 14px; padding:12px 14px; border:1px solid #efd8ad; border-radius:13px; background:#fff8e9; color:#76501b; } .data-warning > svg { width:32px; height:32px; padding:7px; border-radius:9px; background:#fff; } .data-warning div { display:grid; gap:3px; } .data-warning strong { font-size:.78rem; } .data-warning span { color:#876a3e; font-size:.69rem; line-height:1.7; } .search-box { position:relative; } .search-box > svg { position:absolute; z-index:1; top:50%; right:12px; width:16px; transform:translateY(-50%); color:#829299; } .search-box input { padding-right:38px; background:#fff; } .table-shell { border:1px solid #dde6e8; border-radius:16px; background:#fff; overflow:auto; } .table-shell table { min-width:820px; } .table-shell th { background:#f7f9fa; color:#667a82; font-size:.72rem; } .table-shell td { vertical-align:middle; font-size:.75rem; } .table-shell td:first-child { min-width:150px; } .table-shell td strong,.table-shell td small { display:block; } .table-shell td small { margin-top:3px; color:#89999f; font-size:.64rem; } .table-shell td button { white-space:nowrap; } .location-cell { max-width:160px; color:#667a82; } .no-results { min-height:540px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; color:#72858c; } .no-results > svg { width:42px; height:42px; padding:10px; border-radius:13px; color:#b06b25; background:#fff0db; } .no-results h2 { margin:14px 0 5px; color:#2b414a; font-size:1.05rem; } .no-results p,.empty-hint { margin:0; color:#83949a; font-size:.75rem; line-height:1.8; } .no-results .empty-generate { margin-top:18px; } .empty-hint { padding:10px 2px 12px; } .lock-dialog { max-width:430px; } .dialog-fields { display:grid; gap:8px; margin:8px 0; } .dialog-fields label { color:#536a73; font-size:.75rem; font-weight:700; margin-top:4px; } .suggestions-head svg { width:18px; color:#8a999e; } .suggestion-list { display:grid; gap:9px; margin-top:16px; } .suggestion-empty { padding:18px 12px; border:1px dashed #cfdbde; border-radius:13px; color:#7a8c93; background:#f9fbfb; font-size:.72rem; line-height:1.8; text-align:center; } .suggestion-card { border:1px solid #e0e8ea; border-radius:14px; padding:12px; text-align:right; background:#fff; cursor:pointer; transition:.18s ease; } .suggestion-card:hover { border-color:#b9ced2; transform:translateY(-1px); } .suggestion-card.active { border-color:#3c9b9c; box-shadow:0 0 0 3px rgba(34,137,139,.09); background:#fbfefe; } .suggestion-top { display:grid; grid-template-columns:28px 1fr auto; align-items:center; gap:7px; } .rank { font-size:.7rem; color:#9aa7ac; font-variant-numeric:tabular-nums; } .suggestion-top strong { font-size:.85rem; } .suggestion-card p { font-size:.69rem; color:#71848b; margin:8px 0 10px; line-height:1.7; } .mini-metrics { display:flex; gap:9px; margin-bottom:9px; } .mini-metrics span { font-size:.64rem; color:#89989d; } .mini-metrics b { color:#405861; } .why-card { display:grid; grid-template-columns:36px 1fr; gap:10px; padding:13px; margin-top:18px; border-radius:14px; background:#0f3440; color:#fff; } .why-icon { width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.1);display:grid;place-items:center; } .why-icon svg { width:16px; color:#66d5c6; } .why-card strong { font-size:.82rem; } .why-card p { color:#c8d6da; font-size:.7rem; line-height:1.8; margin:5px 0 0; } .quick-filter { margin-top:18px; padding-top:18px; border-top:1px solid #e6ecee; display:grid; gap:9px; } .quick-filter label { font-size:.75rem; font-weight:700; } .quick-title { display:grid; grid-template-columns:30px 1fr; align-items:center; gap:9px; } .quick-title > svg { width:28px; height:28px; padding:6px; border-radius:9px; color:#0b6673; background:#e7f3f2; } .quick-title div { display:flex; flex-direction:column; gap:2px; } .quick-title strong { font-size:.77rem; } .quick-title span { color:#819197; font-size:.65rem; } .table-limit-note { margin:10px 3px 0; color:#7e9097; font-size:.68rem; line-height:1.7; } .notice { position:fixed; right:50%; bottom:22px; z-index:80; transform:translateX(50%); display:flex; align-items:center; gap:9px; min-width:280px; padding:11px 13px; color:#fff; background:#153e49; border:1px solid rgba(255,255,255,.12); border-radius:13px; box-shadow:0 18px 55px rgba(17,46,56,.26); font-size:.78rem; } .notice > svg { width:16px; color:#72d6b1; } .notice button { margin-inline-start:auto; border:0; background:transparent; color:#aec1c7; cursor:pointer; } .notice button svg { width:15px; } @media (max-width: 1260px) { .workspace-grid { grid-template-columns:280px minmax(660px,1fr); } .suggestions-panel { grid-column:1 / -1; position:static; display:grid; grid-template-columns:160px 1fr 280px; gap:16px; align-items:start; } .suggestion-list { grid-template-columns:repeat(3,1fr); margin-top:0; } .why-card,.quick-filter { margin-top:0; } } @media (max-width: 900px) { .topbar-status { display:none; } .workspace-grid { display:flex; flex-direction:column; padding:12px; } .control-panel,.schedule-panel,.suggestions-panel { width:100%; position:static; } .suggestions-panel { display:block; } .suggestion-list { grid-template-columns:1fr; } .metrics-row { grid-template-columns:repeat(2,1fr); } .schedule-head { flex-direction:column; } .filters-row { grid-template-columns:1fr; } } @media (max-width: 560px) { .topbar { padding:0 12px; height:68px; } .brand-copy span,.data-button { display:none; } .topbar-status { display:flex; margin-inline-start:auto; } .schedule-panel { padding:14px; } .metrics-row { grid-template-columns:1fr 1fr; } .metrics-row > div:nth-child(3),.metrics-row > div:nth-child(4) { border-top:1px solid #e8edef; } .view-tabs-row { align-items:flex-start; flex-direction:column; } .classes-head { align-items:flex-start; flex-direction:column; } .notice { width:calc(100% - 24px); min-width:0; bottom:12px; } .empty-start { min-height:calc(100vh - 68px); padding:16px 12px; } .empty-start-card { padding:38px 20px 28px; border-radius:22px; } }