
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-body: #f5f7fb;
  --bg-card: #ffffff;
  --bg-highlight: #f0f4ff;
  --bg-sidebar: #ffffff;
  --border-soft: #e3e6f0;
  --text-main: #1f2430;
  --text-muted: #6b7280;
  --accent: #4c6fff;
  --accent-soft: rgba(76, 111, 255, 0.12);
  --accent-strong: #ff9f43;
  --radius-lg: 18px;
  --shadow-soft: 0 12px 35px rgba(15, 35, 95, 0.08);
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-body);
  color: var(--text-main);
  font-size: 17px;
}

/* Landing */
.landing {
  min-height: 100vh;
  padding: 20px 18px 32px;
}

.landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.landing-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-logo img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

.landing-logo h1 {
  font-size: 24px;
  font-weight: 600;
}

.landing-logo p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
}

.landing-actions,
.landing-actions-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-main {
  max-width: 1100px;
  margin: 0 auto;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 22px;
}

.landing-hero-text h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.landing-hero-text p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.landing-list {
  list-style: none;
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 14px;
}

.landing-list li::before {
  content: "• ";
  color: var(--accent);
}

.landing-hero-card {
  display: flex;
  align-items: stretch;
}

.landing-hero-card-inner {
  background: #ffffff;
  border-radius: 20px;
  padding: 18px 18px 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.landing-hero-card-inner h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.landing-hero-card-inner ol {
  font-size: 14px;
  color: var(--text-main);
  margin-left: 20px;
}

.landing-hero-card-inner li {
  margin-bottom: 4px;
}

.landing-hero-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

/* App layout */
.app {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-soft);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.sidebar__logo img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: contain;
}

.sidebar__logo span {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.1s;
}

.nav-item__icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--bg-body);
}

.nav-item--active,
.nav-item:hover {
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-1px);
}

.sidebar__footer {
  margin-top: 24px;
}

.coach-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #4c6fff, #8f5eff);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(76, 111, 255, 0.4);
}

.coach-card__avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.coach-card__text {
  display: flex;
  flex-direction: column;
}

.coach-card__text span {
  font-size: 12px;
  opacity: 0.9;
}

/* Main area */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Topbar */
.topbar {
  display: flex;
  align-items: center;
  padding: 18px 26px;
  gap: 20px;
}

.topbar__menu-btn {
  display: none;
  border: none;
  background: transparent;
  font-size: 26px;
  cursor: pointer;
}

.topbar__greeting h1 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}

.topbar__greeting p {
  font-size: 14px;
  color: var(--text-muted);
}

.topbar__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar__user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar__user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.topbar__user-name {
  font-size: 14px;
  font-weight: 500;
}

.topbar__user-role {
  font-size: 12px;
  color: var(--text-muted);
}

.topbar__user-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #ffd166;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
}

/* Dashboard */
.dashboard {
  padding: 0 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.dashboard__row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 2fr);
  gap: 18px;
}

.dashboard__row--banner {
  grid-template-columns: minmax(0, 1fr);
}

/* Cards */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow-soft);
}

.card--highlight {
  background: linear-gradient(135deg, #f5f7ff, #ffffff);
}

.card__subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
  margin-bottom: 12px;
}

.card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

/* Summary grid */
.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.summary-item {
  padding: 10px 12px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
}

.summary-label {
  font-size: 13px;
  color: var(--text-muted);
}

.summary-value {
  font-size: 20px;
  font-weight: 600;
  margin: 4px 0;
}

.summary-tag {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f0f0f5;
  color: var(--text-muted);
}

.summary-tag--success {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.summary-tag--info {
  background: rgba(59, 130, 246, 0.12);
  color: #1d4ed8;
}

.summary-tag--warning {
  background: rgba(234, 179, 8, 0.12);
  color: #854d0e;
}

/* Progress bar */
.progress-group {
  margin-top: 8px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.progress-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #e5e7f0;
  overflow: hidden;
}

.progress-bar__fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #4c6fff, #8f5eff);
  transition: width 0.5s ease-out;
}

/* Rotina */
.routine-config {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-soft);
}

.routine-config h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.routine-text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.routine-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.routine-form label {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.routine-form input {
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  padding: 8px 10px;
  font-size: 15px;
  outline: none;
}

.routine-form input:focus {
  border-color: var(--accent);
}

.routine-fieldset {
  border: 1px dashed var(--border-soft);
  border-radius: 12px;
  padding: 10px 10px 12px;
}

.routine-fieldset legend {
  font-size: 13px;
  color: var(--text-muted);
  padding: 0 4px;
}

/* Chart area */
.card--chart .chart-title {
  font-size: 19px;
  font-weight: 600;
}

.chart-placeholder {
  margin-top: 10px;
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed var(--border-soft);
  background: #fafbff;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 4px;
  margin-bottom: 4px;
  height: 120px;
}

.chart-bar {
  flex: 1;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, rgba(76,111,255,0.9), rgba(76,111,255,0.2));
}

/* Tasks */
.card--tasks .card__header h2 {
  margin-bottom: 0;
}

.task-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 14px;
}

.task-item {
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  transition: background 0.2s, transform 0.1s, box-shadow 0.1s;
}

.task-item__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.task-main {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.task-item input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
}

.task-item__title {
  font-size: 15px;
  font-weight: 500;
}

.task-item__meta {
  font-size: 13px;
  color: var(--text-muted);
}

.task-item--custom {
  border-style: dashed;
}

.task-pill-custom {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(76,111,255,0.08);
  color: #1d4ed8;
  margin-left: 4px;
}

.task-item:hover {
  background: #f7f8ff;
  box-shadow: 0 8px 20px rgba(15,35,95,0.08);
  transform: translateY(-1px);
}

.task-item--done .task-item__title {
  text-decoration: line-through;
  color: var(--text-muted);
}

.task-empty {
  font-size: 14px;
  color: var(--text-muted);
}

.tasks-confirm-btn {
  margin-top: 4px;
}

.task-add {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-soft);
}

.task-add h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.task-add__text {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.task-add-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.task-add-form label {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.task-add-form input {
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  padding: 8px 10px;
  font-size: 15px;
  outline: none;
}

.task-add-form input:focus {
  border-color: var(--accent);
}

.task-delete-form {
  margin-top: 4px;
}

.task-delete-link,
.goal-delete-link {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  color: #b91c1c;
  cursor: pointer;
  text-decoration: underline;
}

/* Goals */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.goal {
  padding: 10px 0 12px;
}

.goal--boxed {
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  padding: 10px 12px 12px;
  background: #ffffff;
}

.goal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.goal__header h3 {
  font-size: 15px;
}

.goal__desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 6px 0 6px;
}

.goal__time-left {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.goals-subtitle {
  font-size: 15px;
  margin-top: 10px;
}

.goals-user-block {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-soft);
}

.goal-add-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.goal-add-form label {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.goal-add-form input,
.goal-add-form textarea {
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  padding: 7px 9px;
  font-size: 15px;
  outline: none;
}

.goal-add-form input:focus,
.goal-add-form textarea:focus {
  border-color: var(--accent);
}

.goals-user-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.goal-empty {
  font-size: 14px;
  color: var(--text-muted);
}

.goal--user {
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  padding: 10px 12px 12px;
}

.goal--done {
  border-color: rgba(34, 197, 94, 0.6);
  background: #ecfdf3;
}

.goal-user-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Banner */
.card--banner .banner__body {
  display: flex;
  gap: 18px;
  margin-top: 10px;
  align-items: center;
}

.banner__text h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.banner__text p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.banner__stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
}

.banner__stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

.banner__stat-value {
  font-size: 18px;
  font-weight: 600;
}

/* Pills, buttons */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  background: #f1f2f7;
  color: var(--text-muted);
}

.pill--today {
  background: rgba(76,111,255,0.12);
  color: #1d4ed8;
}

.pill--goal {
  background: rgba(76,111,255,0.08);
  color: #1e40af;
}

.pill--promo {
  background: rgba(234,179,8,0.14);
  color: #854d0e;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 500;
  transition: transform 0.1s, box-shadow 0.1s, background 0.2s;
}

.btn--small {
  padding: 6px 12px;
  font-size: 13px;
}

.btn--primary {
  background: linear-gradient(135deg, #4c6fff, #8f5eff);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(76,111,255,0.35);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(76,111,255,0.45);
}

.btn--secondary {
  background: #ffffff;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn--secondary:hover {
  background: var(--accent-soft);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 1px dashed var(--accent);
}

.full-width {
  width: 100%;
}

/* Auth pages */
.auth-body {
  background: radial-gradient(circle at top left, #dde4ff, #f5f7fb);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.auth-wrapper {
  width: 100%;
  max-width: 430px;
  padding: 16px;
}

.auth-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-soft);
}

.auth-logo {
  text-align: center;
  margin-bottom: 18px;
}

.auth-logo img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  margin-bottom: 8px;
}

.auth-logo h1 {
  font-size: 21px;
  margin-bottom: 4px;
}

.auth-logo p {
  font-size: 14px;
  color: var(--text-muted);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.auth-form label {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-form input,
.auth-form select,
.auth-form textarea {
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  padding: 8px 10px;
  font-size: 15px;
  outline: none;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus {
  border-color: var(--accent);
}

.auth-error {
  background: rgba(239, 68, 68, 0.09);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #991b1b;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 13px;
  margin-bottom: 10px;
}

.auth-footer-text {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
}

.auth-footer-text a {
  color: var(--accent);
  text-decoration: none;
}


.routine-level {
  margin-bottom: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #eff6ff;
}

.routine-level select {
  margin-top: 4px;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: #fff;
  font-size: 14px;
  width: 100%;
}

.days-grid.days-grid--with-hours {
  flex-direction: column;
  gap: 6px;
}

.day-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: #f8fafc;
}

.day-row__name {
  font-size: 13px;
  font-weight: 500;
}

.day-row__hours {
  width: 80px;
  font-size: 13px;
}

/* Days selector (shared) */
.days-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.day-pill {
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  padding: 4px 10px;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.day-pill input {
  display: none;
}

.day-pill span {
  font-size: 13px;
}

/* Admin */
.admin-body {
  background: #f5f7fb;
  font-family: 'Poppins', system-ui, sans-serif;
}

.admin-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 16px 30px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-header__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-header__left img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.admin-header h1 {
  font-size: 19px;
}

.admin-header p {
  font-size: 13px;
  color: var(--text-muted);
}

.admin-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-section {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 16px 18px;
  box-shadow: var(--shadow-soft);
}

.admin-section h2 {
  font-size: 17px;
  margin-bottom: 10px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.admin-card {
  background: #f8f9ff;
  border-radius: 14px;
  padding: 10px 12px;
}

.admin-card h3 {
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--text-muted);
}

.admin-card p {
  font-size: 15px;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.admin-form label {
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-form input,
.admin-form textarea {
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  padding: 7px 9px;
  font-size: 15px;
}

.admin-form textarea {
  resize: vertical;
}

.admin-table-wrapper {
  margin-top: 6px;
  max-height: 260px;
  overflow: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #edf0f8;
  padding: 6px 4px;
  text-align: left;
}

.admin-table th {
  font-weight: 500;
  color: var(--text-muted);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

/* Weekly / Points */
.page-section {
  display: block;
}

.page-section--hidden {
  display: none;
}

.full-card {
  grid-column: 1 / -1;
}

.weekly-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.weekly-day {
  border-radius: 16px;
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.weekly-day--active {
  background: #f4f6ff;
  border-color: rgba(76,111,255,0.4);
}

.weekly-day--off {
  background: #fafafa;
}

.weekly-day__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.weekly-day__name {
  font-weight: 600;
  font-size: 14px;
}

.weekly-day__tag {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e0e7ff;
  color: #1d4ed8;
  font-weight: 600;
}

.weekly-day__list {
  list-style: none;
  font-size: 13px;
  color: #111827;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 6px;
}

.weekly-day__off-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.points-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 16px;
  margin-top: 10px;
}

.points-main {
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  padding: 12px;
  background: #ffffff;
}

.points-value {
  margin-bottom: 10px;
}

.points-label {
  font-size: 14px;
  color: var(--text-muted);
}

.points-number {
  font-size: 28px;
  font-weight: 700;
  display: block;
  margin: 2px 0;
}

.points-hint {
  font-size: 13px;
  color: var(--text-muted);
}

.points-level-label {
  font-size: 13px;
  color: var(--text-muted);
}

.points-level-name {
  font-size: 16px;
  font-weight: 600;
  display: block;
  margin-top: 2px;
}

.points-tips {
  border-radius: 16px;
  border: 1px dashed var(--border-soft);
  padding: 10px 12px;
  background: #f9fafb;
}

.points-tips h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.points-tips ul {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 16px;
}

.points-tips li {
  margin-bottom: 3px;
}

/* Responsive */
@media (max-width: 960px) {
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    transform: translateX(-100%);
    z-index: 30;
    transition: transform 0.25s ease-out;
  }

  .sidebar.--open {
    transform: translateX(0);
  }

  .topbar__menu-btn {
    display: inline-flex;
  }

  .topbar {
    padding-inline: 16px;
  }

  .dashboard {
    padding-inline: 16px;
  }

  .dashboard__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-actions {
    align-self: flex-start;
  }
}

@media (max-width: 800px) {
  .points-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .topbar__right {
    display: none;
  }

  .summary-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .card--banner .banner__body {
    flex-direction: column;
    align-items: flex-start;
  }

  .card--chart .chart-title {
    font-size: 18px;
  }
}


.weekly-day__meta {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}


.card--profile {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.profile-item {
  background: #f8fafc;
  border-radius: 10px;
  padding: 8px 10px;
  border: 1px solid var(--border-soft);
}

.profile-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.profile-value {
  font-size: 14px;
  font-weight: 600;
}


.admin-card p strong {
  font-size: 26px;
  font-weight: 700;
  color: #111827;
}

.admin-card p {
  font-size: 14px;
}

.admin-table td {
  font-size: 14px;
}

.admin-table td:nth-child(4),
.admin-table td:nth-child(5) {
  font-weight: 600;
  color: #111827;
}


.card--banner-bottom {
  margin-top: 8px;
}

#section-bottom-ad .card__header h2 {
  font-size: 18px;
}


.weekly-task {
  padding: 6px 8px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.weekly-task__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.weekly-task__icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.weekly-task__title {
  flex: 1;
  font-weight: 500;
  font-size: 13px;
  color: #111827;
}

.weekly-task__time {
  font-weight: 600;
  font-size: 13px;
  color: #111827;
}

.weekly-day__list {
  list-style: none;
  font-size: 13px;
  color: #111827;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}


.card--tutorial {
  margin-top: 10px;
}

.tutorial-body {
  font-size: 13px;
  color: var(--text-main);
}

.tutorial-steps {
  margin-left: 18px;
  margin-bottom: 6px;
}

.tutorial-steps li {
  margin-bottom: 4px;
}

.tutorial-note {
  font-size: 12px;
  color: var(--text-muted);
}

.admin-form-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--border-soft);
  margin-bottom: 16px;
}

.admin-form-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 16px;
}

.admin-form-card .form-row {
  margin-bottom: 10px;
}

.admin-form-card label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.admin-form-card input[type="text"],
.admin-form-card textarea,
.admin-form-card select {
  width: 100%;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  font-size: 13px;
}
