/*
 * application.css - Wakara Mypage styles
 */

:root {
  --color-primary: #00a1af;
  --color-primary-dark: #007f8a;
  --color-primary-light: #4bc4cc;
  --color-text: #061826;
  --color-text-light: #555555;
  --color-text-muted: #9f9f9f;
  --color-bg: #f5f4f4;
  --color-white: #ffffff;
  --color-border: #e0e0e0;
  --color-success: #07c765;
  --color-warning: #e8a00a;
  --color-danger: #db7e83;
  --font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --border-radius: 6px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);

  /* status severity palette（お客様提案のPhase1改善に合わせて追加）
     文字色は背景白地でコントラスト比を確保した濃色、-bgは淡色背景用 */
  --line: rgba(6, 24, 38, .10);
  --line-soft: rgba(6, 24, 38, .06);
  --plane: #f7f9f9;
  --plane2: #ececec;
  --good-ink: #006300;
  --good-bg: #eaf8ef;
  --warn-ink: #8a5a00;
  --warn-bg: #fff6e0;
  --serious: #ec835a;
  --serious-ink: #9c4520;
  --serious-bg: #fdefe8;
  --crit: #d03b3b;
  --crit-ink: #a92222;
  --crit-bg: #fdecec;
}

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

body.wakara-body {
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Header ===== */
.site-header {
  background-color: #f5f4f4;
  border-top: 5px solid var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 24px;
}

.site-logo {
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}

.site-logo .logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.site-logo .logo-sub {
  font-size: 13px;
  color: var(--color-text-light);
  font-weight: 400;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.nav-link {
  text-decoration: none;
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--border-radius);
  transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background-color: rgba(0, 161, 175, 0.08);
}

.header-user {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.user-name {
  font-size: 13px;
  color: var(--color-text-light);
}

.btn-logout {
  text-decoration: none;
  font-size: 13px;
  color: var(--color-text-light);
  border: 1px solid var(--color-border);
  padding: 5px 12px;
  border-radius: var(--border-radius);
  transition: all 0.2s;
}

.btn-logout:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ===== Flash messages ===== */
.flash {
  padding: 12px 20px;
  font-size: 14px;
  text-align: center;
}

.flash-notice {
  background-color: #f7ffef;
  color: #07a050;
  border-bottom: 1px solid #b2e8c8;
}

.flash-alert {
  background-color: #ffeff0;
  color: #c05060;
  border-bottom: 1px solid #f5c0c5;
}

/* ===== Main ===== */
.site-main {
  flex: 1;
}

/* ===== Footer ===== */
.site-footer {
  background-color: var(--color-white);
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding: 32px 20px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo .logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  margin: 14px 0 4px;
  padding: 0;
  font-size: 12.5px;
}

.footer-links a {
  color: var(--color-text-light);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.footer-copy {
  font-size: 12px;
  margin-top: 12px;
  color: var(--color-text-muted);
}

/* ===== Page container ===== */
.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
}

.page-header {
  margin-bottom: 28px;
}

.page-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #101418;
}

.page-subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* ===== Alert band ===== */
.alert-band {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding: 15px 18px;
  border-radius: var(--border-radius);
  flex-wrap: wrap;
  background-color: var(--color-white);
  border: 2px solid var(--serious);
}

.alert-band__ico {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--serious-ink);
  color: var(--color-white);
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  margin-top: 2px;
}

.alert-band__body {
  flex: 1;
  min-width: 220px;
}

.alert-band__title {
  font-weight: 800;
  color: var(--serious-ink);
  font-size: 15.5px;
  line-height: 1.5;
}

.alert-band__desc {
  font-size: 13.5px;
  color: var(--color-text-light);
  margin-top: 3px;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: var(--border-radius);
  padding: 9px 16px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  background-color: var(--color-primary);
  color: var(--color-white);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.btn:hover {
  background-color: var(--color-primary-dark);
}

.btn--warn {
  background-color: var(--serious-ink);
}

.btn--out {
  background-color: var(--color-white);
  color: var(--color-primary);
  box-shadow: inset 0 0 0 1px var(--color-primary);
}

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

/* ===== Status dot badge（ステータス・切迫度の表示をここに統一） ===== */
.bdg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.5;
}

.bdg::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
  flex: none;
}

.bdg--sched { color: var(--color-primary); }
.bdg--unpaid { color: var(--warn-ink); }
.bdg--done { color: var(--good-ink); }
.bdg--comp { color: var(--color-text-muted); }
.bdg--exp { color: var(--serious-ink); }
.bdg--cancel { color: var(--crit-ink); }
.bdg--over {
  color: var(--color-text-muted);
}
.bdg--over::before {
  background-color: var(--plane2);
  box-shadow: inset 0 0 0 1px var(--color-text-muted);
}

/* ===== KPI row (Dashboard) ===== */
.kpis {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}

.kpi {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kpi--warn .kpi__sub .em {
  color: var(--warn-ink);
  font-weight: 700;
}

.kpi__eyebrow {
  font-size: 12.5px;
  color: var(--color-text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.kpi__fig {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-top: 2px;
}

.kpi__fig small {
  font-size: 15px;
  font-weight: 700;
  margin-left: 2px;
}

.kpi__sub {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 1px;
}

.kpi__foot {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--color-border);
  font-size: 13px;
}

.kpi__foot a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
}

.kpi__foot a:hover {
  text-decoration: underline;
}

.tally {
  margin: 6px 0 32px;
  font-size: 12.5px;
  color: var(--color-text-muted);
  text-align: right;
}

/* ===== Section ===== */
.section {
  position: relative;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 2px solid #2b3238;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
}

.section-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.section-link {
  margin-left: auto;
  font-size: 13.5px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 700;
}

.section-link:hover {
  text-decoration: underline;
}

/* ===== Course card ===== */
.courses-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.course-card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  padding: 18px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: box-shadow 0.2s;
}

.course-card:hover {
  box-shadow: var(--shadow-hover);
}

.course-date-block {
  flex-shrink: 0;
  text-align: center;
  background-color: var(--color-bg);
  border-radius: var(--border-radius);
  padding: 10px 14px;
  min-width: 64px;
}

.course-date-month {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.course-date-day {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.course-info {
  flex: 1;
}

.course-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.course-meta {
  font-size: 13px;
  color: var(--color-text-muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.course-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.course-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.course-link {
  font-size: 13px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.course-link:hover {
  text-decoration: underline;
}

.course-link-disabled {
  color: var(--color-text-muted);
  cursor: default;
}

.status-badge {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.status-completed {
  background-color: #f7ffef;
  color: var(--color-success);
}

.status-cancelled {
  background-color: #ffeff0;
  color: var(--color-danger);
}

.status-scheduled {
  background-color: #e1f7f8;
  color: var(--color-primary);
}

/* ===== Video card grid ===== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.video-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.video-card:hover {
  border-color: var(--color-primary);
}

.video-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #e8e8e8;
  overflow: hidden;
  position: relative;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumbnail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e1f7f8, #b2e8ec);
  font-size: 40px;
}

.video-duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 500;
}

.video-body {
  padding: 14px 16px;
}

.video-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
  line-height: 1.4;
}

.video-description {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.video-purchased-at {
  font-size: 11px;
  color: var(--color-text-muted);
}

.btn-watch {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-white);
  background-color: var(--color-primary);
  padding: 5px 14px;
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-watch:hover {
  background-color: var(--color-primary-dark);
}

/* ===== Table (full list view) ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.data-table th {
  background-color: #f5f4f4;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--color-border);
}

.data-table td {
  font-size: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

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

.data-table tr:hover td {
  background-color: #e1f7f8;
}

/* ===== Empty state ===== */
.empty-state {
  text-align: center;
  padding: 30px 20px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.empty-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}

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

/* ===== Devise / Auth forms ===== */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
  padding: 20px;
}

.auth-card {
  background-color: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  padding: 40px;
  width: 100%;
  max-width: 420px;
}

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

.auth-logo .logo-text {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
}

.auth-logo .logo-sub {
  display: block;
  font-size: 14px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.auth-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
  margin-bottom: 24px;
}

.auth-form .field {
  margin-bottom: 18px;
}

.auth-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-size: 15px;
  font-family: var(--font-family);
  color: var(--color-text);
  transition: border-color 0.2s;
  outline: none;
}

.auth-form input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 161, 175, 0.1);
}

.auth-form .actions {
  margin-top: 24px;
}

.btn-primary {
  width: 100%;
  padding: 12px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--border-radius);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-family);
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
}

.auth-links {
  margin-top: 20px;
  text-align: center;
}

.auth-links a {
  font-size: 13px;
  color: var(--color-primary);
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-light);
}

.error-messages {
  background-color: #fff5f5;
  border: 1px solid #fecaca;
  border-radius: var(--border-radius);
  padding: 14px;
  margin-bottom: 18px;
}

.error-messages h2 {
  font-size: 14px;
  color: var(--color-danger);
  margin-bottom: 8px;
}

.error-messages ul {
  list-style: none;
  font-size: 13px;
  color: var(--color-danger);
}

.error-messages ul li::before {
  content: "• ";
}

/* ===== Dashboard Hero ===== */
.dashboard-hero {
  background: linear-gradient(135deg, #007f8a 0%, #00a1af 60%, #4bc4cc 100%);
  color: var(--color-white);
  padding: 36px 20px 32px;
}

.dashboard-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-greeting {
  font-size: 14px;
  opacity: 0.85;
  font-weight: 400;
}

.hero-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-id {
  margin-left: auto;
  font-size: 12.5px;
  opacity: 0.9;
  font-variant-numeric: tabular-nums;
}

/* ===== Upcoming sessions ===== */
.upcoming-list {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 0 18px;
}

.up {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}

.up:first-child {
  border-top: 0;
}

.up__date {
  flex: none;
  width: 200px;
}

.up__ymd {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.up__time {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 2px;
}

.up__rel {
  display: inline-block;
  margin-top: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-primary);
}

.up__rel--far {
  color: var(--color-text-muted);
}

.up__body {
  flex: 1;
  min-width: 260px;
}

.up__title {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.5;
}

.up__meta {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 4px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.up__meta-sep {
  color: var(--color-border);
}

.up__acts {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 11px;
}

.up__side {
  flex: none;
  width: 90px;
  text-align: right;
  padding-top: 1px;
}

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

.lnk {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
}

.lnk:hover {
  text-decoration: underline;
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.locked {
  font-size: 12.5px;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
}

/* ===== Ticket card (details/summary accordion) ===== */
.tickets-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ticket-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.ticket-card[open] > .ticket-summary {
  border-bottom: 1px solid var(--color-border);
}

.ticket-summary {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color 0.15s;
}

.ticket-summary::-webkit-details-marker {
  display: none;
}

.ticket-summary:hover {
  background-color: rgba(0, 161, 175, 0.04);
}

.ticket-icon-wrap {
  display: none;
}

.ticket-info {
  flex: 1;
  min-width: 0;
}

.ticket-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.45;
}

.ticket-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
  flex-wrap: wrap;
}

.ticket-meta-sep {
  color: var(--color-border);
}

.ticket-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ticket-badge-next {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-light);
}

.ticket-meta-payment {
  font-weight: 600;
}

.ticket-meta-paid {
  color: var(--color-success);
}

.ticket-meta-unpaid {
  color: var(--color-danger);
}

.ticket-meta-overpaid {
  color: var(--color-warning);
}

.ticket-weburl-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.ticket-weburl-link:hover {
  text-decoration: underline;
}

.ticket-chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket-chevron svg {
  width: 11px;
  height: 11px;
}

.ticket-card[open] .ticket-chevron {
  transform: rotate(180deg);
}

/* ===== Sessions list ===== */
.sessions-table-header {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 8px 16px;
  background-color: #fafcfc;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
}

.session-row {
  display: flex;
  align-items: center;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px;
  background-color: var(--plane);
  transition: background-color 0.15s;
}

.session-row:last-child {
  border-bottom: none;
}

.session-row:hover {
  background-color: rgba(0, 161, 175, 0.04);
}

.session-row--upcoming {
  background-color: rgba(0, 161, 175, 0.03);
}

.col-session   { width: 108px; flex-shrink: 0; }
.col-date      { width: 140px; flex-shrink: 0; }
.col-status    { width: 80px; flex-shrink: 0; }
.col-instructor { width: 100px; flex-shrink: 0; }
.col-location  { width: 110px; flex-shrink: 0; }
.col-links     { flex: 1; }

.session-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.session-link {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.session-link:hover {
  text-decoration: underline;
}

.session-link-disabled {
  color: var(--color-text-muted);
  cursor: default;
}

.session-number {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 13px;
}

.session-date {
  color: var(--color-text);
}

.session-instructor {
  color: var(--color-text-light);
}

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

.sessions-empty {
  padding: 24px 20px;
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 16px;
    gap: 12px;
  }

  .header-nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-link {
    font-size: 13px;
    padding: 5px 10px;
  }

  .page-container {
    padding: 20px 16px;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .kpis {
    grid-template-columns: 1fr;
  }

  .alert-band .btn {
    width: 100%;
    text-align: center;
  }

  .data-table th,
  .data-table td {
    padding: 10px 12px;
    font-size: 13px;
  }

  .dashboard-hero {
    padding: 24px 16px 20px;
  }

  .hero-name {
    font-size: 20px;
  }

  .ticket-summary {
    flex-wrap: wrap;
    gap: 10px;
  }

  .ticket-badges {
    order: 3;
  }

  .sessions-table-header {
    display: none;
  }

  .session-row {
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 16px;
  }

  .col-session   { width: auto; }
  .col-date      { width: auto; }
  .col-status    { width: auto; }
  .col-instructor { flex: none; width: auto; }
  .col-location  { width: auto; }
  .col-links     { width: auto; }

  .up {
    flex-wrap: wrap;
    gap: 10px;
  }

  .up__date {
    width: auto;
  }

  .up__side {
    width: auto;
    text-align: left;
  }
}
