﻿:root {
  --navy: #0b1b35;
  --navy-dark: #071327;
  --ink: #16243a;
  --muted: #7d8898;
  --line: #e1e6ed;
  --surface: #fff;
  --bg: #f1f3f6;
  --green: #17345f;
  --green-soft: #edf1f6;
  --blue: #2c4b78;
  --shadow: 0 10px 30px rgba(7,19,39,.07);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans',sans-serif;
  font-size: 14px;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 252px;
  min-height: 100vh;
  background: var(--navy);
  color: #fff;
  padding: 28px 15px 18px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 12px;
}

.brand-logo {
  display: block;
  width: 250px;
  max-width: 100%;
  height: 230px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.22));
}
.brand-mark {
  height: 36px;
  width: 36px;
  border-radius: 11px;
  background: #31a46d;
  display: grid;
  place-items: center;
  font: 800 22px Manrope;
  color: #fff;
}
.brand strong {
  font: 800 19px Manrope;
  letter-spacing: -.6px;
}
.brand strong span {
  color: #54ce91;
}
.brand small,.user-profile small {
  display: block;
  color: #a8b8d0;
  font-size: 10px;
  margin-top: 3px;
}
.main-nav {
  padding: 31px 0;
  flex: 1;
}
.nav-label {
  font-size: 9px;
  color: #91a5c2;
  letter-spacing: 1.1px;
  font-weight: 700;
  padding: 0 14px;
  margin: 0 0 11px;
}
.nav-label.space-top {
  margin-top: 26px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #b8c6da;
  text-decoration: none;
  font-size: 13px;
  padding: 12px 14px;
  border-radius: 8px;
  margin: 3px 0;
}
.nav-item:hover,.nav-item.active {
  background: #244b7e;
  color: #fff;
}
.nav-item.active {
  box-shadow: inset 3px 0 #42b779;
}
.nav-icon {
  width: 17px;
  text-align: center;
  font-size: 18px;
  color: #b1c3df;
}
.nav-item.active .nav-icon {
  color: #64da9b;
}
.nav-count {
  font-size: 10px;
  margin-left: auto;
  background: #3c6ca2;
  padding: 3px 7px;
  border-radius: 10px;
  color: #e4efff;
}
.sidebar-footer {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 5px 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.sidebar-footer strong {
  font-size: 11px;
  display: block;
}
.sidebar-footer small {
  font-size: 9px;
  color: #91a5c2;
  display: block;
  margin-top: 3px;
}
.sidebar-footer>span {
  margin-left: auto;
  color: #9cb0cc;
  font-size: 22px;
}
.help-icon {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  border: 1px solid #7091b7;
  display: grid;
  place-items: center;
  color: #c5d5e9;
}
.main-content {
  flex: 1;
  min-width: 0;
}
.topbar {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 46px;
}
.breadcrumb {
  color: #9ba7b8;
  font-size: 12px;
}
.breadcrumb i {
  font-style: normal;
  margin: 0 9px;
  color: #c8d0db;
}
.breadcrumb strong {
  color: #394963;
  font-weight: 600;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 27px;
}
.icon-button {
  border: 0;
  background: none;
  color: #697993;
  font-size: 22px;
  position: relative;
}
.notification span {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef7d58;
  right: 0;
  top: 3px;
  border: 1px solid white;
}
.user-profile {
  display: flex;
  align-items: center;
  gap: 9px;
}
.user-profile strong {
  font-size: 11px;
  display: block;
}
.user-avatar {
  height: 31px;
  width: 31px;
  background: #d9e7fb;
  color: #3473bd;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
}
.user-profile small {
  color: #94a0b1;
}
.chevron {
  color: #92a0b4;
  margin-left: 5px;
}
.mobile-menu {
  display: none;
}
.content-wrap {
  max-width: 1440px;
  padding: 36px 46px 48px;
  margin: auto;
}
.welcome-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}
.eyebrow {
  color: #23935c;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  margin: 0 0 9px;
}
.welcome-row h1 {
  font: 800 28px Manrope;
  letter-spacing: -.9px;
  margin: 0;
}
.welcome-row h1 span {
  font-size: 22px;
}
.subheading {
  color: #8491a4;
  margin: 8px 0 0;
  font-size: 13px;
}
.primary-button {
  border: 0;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 7px 16px rgba(31,149,96,.2);
  font-weight: 700;
  padding: 12px 17px;
  cursor: pointer;
  font-family: inherit;
}
.primary-button:hover {
  background: #188452;
}
.primary-button span {
  font-size: 20px;
  vertical-align: -1px;
  margin-right: 7px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin-bottom: 34px;
}
.stat-card,.panel {
  background: var(--surface);
  border: 1px solid #e9edf3;
  border-radius: 11px;
  box-shadow: var(--shadow);
}
.stat-card {
  padding: 17px 18px;
}
.stat-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat-icon {
  height: 32px;
  width: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.stat-icon.blue {
  background: #e8f1ff;
  color: #4787d6;
}
.stat-icon.green {
  background: #e6f7ef;
  color: #269b64;
}
.stat-icon.orange {
  background: #fff3e5;
  color: #e29839;
}
.stat-icon.purple {
  background: #f0ebff;
  color: #8562d0;
}
.trend {
  font-size: 10px;
  font-weight: 600;
}
.trend.positive {
  color: #269662;
}
.trend.neutral {
  color: #df9731;
}
.stat-card p {
  font-size: 11px;
  color: #718099;
  margin: 16px 0 5px;
}
.stat-card>strong {
  font: 800 22px Manrope;
  letter-spacing: -.6px;
}
.stat-card>strong em {
  font: 700 11px 'DM Sans';
  font-style: normal;
  color: #7c899c;
}
.stat-card small {
  display: block;
  color: #a2adbb;
  font-size: 10px;
  margin-top: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-heading h2 {
  font: 800 17px Manrope;
  margin: 0;
}
.section-heading p {
  color: #8a97a8;
  margin: 5px 0 0;
  font-size: 11px;
}
.view-all,.text-link {
  color: #278d5c;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}
.view-all span {
  font-size: 17px;
  margin-left: 4px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 31% 1fr;
  gap: 18px;
}
.panel {
  padding: 21px;
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.panel-header h3 {
  font: 800 13px Manrope;
  margin: 0;
}
.panel-header p {
  margin: 5px 0 0;
  color: #9aa6b5;
  font-size: 10px;
}
.calendar-controls {
  display: flex;
  gap: 5px;
}
.calendar-controls button {
  height: 25px;
  width: 25px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  color: #6e7e94;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}
.weekdays,.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  text-align: center;
}
.weekdays {
  margin-top: 26px;
  color: #a0acbb;
  font-size: 9px;
  font-weight: 700;
}
.calendar-grid {
  row-gap: 9px;
  margin-top: 14px;
  color: #53627a;
}
.calendar-grid span {
  height: 27px;
  display: grid;
  place-items: center;
  font-size: 11px;
  position: relative;
}
.calendar-grid .muted {
  color: #cad1dc;
}
.calendar-grid .selected {
  background: var(--navy);
  color: #fff;
  border-radius: 7px;
  font-weight: 700;
}
.calendar-grid i {
  position: absolute;
  bottom: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #54c88d;
}
.calendar-grid .selected i {
  background: #fff;
}
.calendar-legend {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 14px;
  display: flex;
  gap: 16px;
  color: #8996a8;
  font-size: 10px;
}
.dot {
  height: 6px;
  width: 6px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 5px;
}
.blue-dot {
  background: #4a86da;
}
.green-dot {
  background: #2da268;
}
.filter-button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 5px;
  padding: 7px 10px;
  color: #65758b;
  font: 500 10px 'DM Sans';
}
.filter-button span {
  margin-left: 9px;
}
.appointment-list {
  margin-top: 20px;
}
.appointment {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 57px;
  border-bottom: 1px solid #f0f2f5;
}
.appointment:last-child {
  border-bottom: 0;
}
.time {
  width: 45px;
  color: #263b5e;
  text-align: right;
}
.time strong {
  font-size: 12px;
  display: block;
}
.time small {
  font-size: 9px;
  color: #9ba8b9;
}
.appointment-line {
  width: 3px;
  height: 31px;
  border-radius: 5px;
}
.blue-line {
  background: #5994e0;
}
.green-line {
  background: #2aaa6c;
}
.orange-line {
  background: #efab4d;
}
.pink-line {
  background: #d578a0;
}
.client-avatar,.team-avatar {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  flex: none;
}
.coral {
  background: #e49a84;
}
.violet {
  background: #927bc5;
}
.yellow {
  background: #d7ab55;
}
.blue-avatar {
  background: #6c9dc7;
}
.appointment-info {
  min-width: 0;
  flex: 1;
}
.appointment-info strong {
  display: block;
  font-size: 11px;
}
.appointment-info span {
  display: block;
  color: #9aa6b5;
  font-size: 10px;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.status {
  border-radius: 12px;
  font-size: 9px;
  padding: 4px 8px;
  white-space: nowrap;
}
.confirmed {
  color: #22935c;
  background: #eaf7ef;
}
.pending {
  color: #c9872d;
  background: #fff5e6;
}
.bottom-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  margin-top: 18px;
}
.compact-panel {
  padding: 19px 21px;
}
.team-list {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}
.team-member {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.team-avatar {
  position: relative;
}
.team-avatar span {
  position: absolute;
  bottom: 0;
  right: -1px;
  background: #31af72;
  border: 2px solid white;
  height: 7px;
  width: 7px;
  border-radius: 50%;
}
.laura {
  background: #ca8b75;
}
.andres {
  background: #567c9a;
}
.julia {
  background: #9c7195;
}
.team-member strong {
  font-size: 10px;
  display: block;
  white-space: nowrap;
}
.team-member small {
  font-size: 9px;
  color: #9ca8b7;
  display: block;
  margin-top: 3px;
}
.team-member em {
  font-style: normal;
  color: #269562;
  font-size: 9px;
  margin-left: auto;
  white-space: nowrap;
}
.reminder-count {
  font-size: 10px;
  color: #278d5c;
  background: #eaf7ef;
  padding: 5px 8px;
  border-radius: 12px;
}
.progress-track {
  height: 8px;
  border-radius: 10px;
  background: #edf1f5;
  margin: 28px 0 14px;
  overflow: hidden;
}
.progress-track div {
  height: 100%;
  width: 75%;
  background: #36ad71;
  border-radius: 10px;
}
.reminder-foot {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #8795a7;
}
.reminder-foot strong {
  color: #263957;
}
.reminder-foot a {
  color: #278d5c;
  text-decoration: none;
  font-weight: 700;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,37,74,.46);
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 5;
}
.modal-backdrop[hidden] {
  display: none;
}
.modal {
  position: relative;
  width: min(440px,100%);
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 20px 70px rgba(10,30,65,.25);
}
.modal h2 {
  font: 800 23px Manrope;
  margin: 0;
  color: var(--ink);
}
.modal-subtitle {
  color: #8a97a8;
  font-size: 12px;
  margin: 8px 0 24px;
}
.close-modal {
  position: absolute;
  right: 18px;
  top: 15px;
  border: 0;
  background: none;
  font-size: 25px;
  color: #9aa7b7;
  cursor: pointer;
}
.modal label {
  display: block;
  color: #58677c;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 15px;
}
.modal input,.modal select {
  width: 100%;
  border: 1px solid #dce3eb;
  border-radius: 7px;
  padding: 11px 12px;
  margin-top: 7px;
  outline-color: #3da76e;
  font: 12px 'DM Sans';
  color: #33435c;
  background: #fff;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.full {
  width: 100%;
  margin-top: 8px;
}
.notification {
  cursor: pointer;
}
@media(max-width:1100px) {
  .sidebar {
    width: 220px;
  }
  .topbar,.content-wrap {
    padding-left: 28px;
    padding-right: 28px;
  }
  .stats-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .dashboard-grid {
    grid-template-columns: 1fr 1.8fr;
  }
  .team-list {
    gap: 10px;
  }
  .team-member em {
    display: none;
  }
}
@media(max-width:760px) {
  .sidebar {
    display: none;
  }
  .mobile-menu {
    display: block;
    border: 0;
    background: none;
    color: var(--navy);
    font-size: 20px;
  }
  .topbar {
    height: 62px;
    padding: 0 18px;
  }
  .top-actions {
    gap: 12px;
  }
  .user-profile>div:not(.user-avatar),.chevron {
    display: none;
  }
  .content-wrap {
    padding: 27px 18px;
  }
  .welcome-row {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }
  .welcome-row h1 {
    font-size: 24px;
  }
  .stats-grid,.dashboard-grid,.bottom-grid {
    grid-template-columns: 1fr;
  }
  .section-heading {
    align-items: flex-start;
    gap: 10px;
  }
  .view-all {
    white-space: nowrap;
  }
  .team-list {
    flex-direction: column;
    gap: 15px;
  }
  .team-member em {
    display: block;
    margin-left: auto;
  }
  .breadcrumb {
    display: none;
  }
  .appointment-panel {
    order: -1;
  }
}

/* Refinamiento de paleta: azul profundo, blanco y grises neutros */
.brand-mark,
.primary-button,
.progress-track div {
  background: #17345f;
}

.brand strong span,
.eyebrow,
.view-all,
.text-link,
.reminder-foot a {
  color: #31527f;
}

.sidebar {
  background: #0b1b35;
}

.nav-item:hover,
.nav-item.active {
  background: #142d52;
}

.laura,
.andres,
.julia,
.coral,
.violet,
.yellow,
.blue-avatar {
  background: #718096;
}

.nav-item,
.nav-icon,
.sidebar-footer small,
.nav-label,
.sidebar-footer > span {
  color: #aab6c7;
}

.nav-item.active .nav-icon {
  color: #dbe3ee;
}

.nav-count {
  background: #29466f;
  color: #e8edf5;
}

.chatbot-nav-item {
  position: relative;
}

.bot-status {
  margin-left: auto;
  border: 1px solid rgba(167, 190, 221, .35);
  border-radius: 999px;
  padding: 3px 6px;
  color: #b7c7dc;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.chatbot-nav-item:hover .bot-status,
.chatbot-nav-item.active .bot-status {
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}

.stat-icon.blue,
.stat-icon.green,
.stat-icon.orange,
.stat-icon.purple {
  background: #edf1f6;
  color: #29466f;
}

.trend.positive,
.trend.neutral,
.status.confirmed,
.status.pending,
.reminder-count,
.team-member em {
  color: #31527f;
}

.status.confirmed,
.status.pending,
.reminder-count {
  background: #edf1f6;
}

.appointment-line,
.blue-line,
.green-line,
.orange-line,
.pink-line,
.blue-dot,
.green-dot {
  background: #5d718e;
}

.calendar-grid .selected {
  background: #17345f;
}

.calendar-grid i {
  background: #5d718e;
}

.reminder-foot strong {
  color: #1c2d47;
}

.primary-button:hover {
  background: #29466f;
}

.notification span {
  background: #8793a4;
}

.modal input,
.modal select,
.modal textarea {
  width: 100%;
  border: 1px solid #dce3eb;
  border-radius: 7px;
  padding: 11px 12px;
  margin-top: 7px;
  outline-color: #29466f;
  font: 12px 'DM Sans';
  color: #33435c;
  background: #fff;
}

.modal textarea {
  resize: vertical;
  min-height: 58px;
}

.modal input,
.modal select {
  outline-color: #29466f;
}

.logout-button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: #63738a;
  padding: 8px 10px;
  font: 600 10px 'DM Sans', sans-serif;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}

.logout-button:hover {
  border-color: #8da0ba;
  color: var(--navy);
  background: #f4f6f9;
}

.chatbot-modal {
  max-width: 620px;
}

.chatbot-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-heading .eyebrow {
  margin-bottom: 4px;
}

.chatbot-heading h2 {
  margin: 0;
}

.chatbot-avatar {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #17345f, #31527f);
  box-shadow: 0 8px 18px rgba(23, 52, 95, .2);
  font-size: 22px;
}

.bot-online {
  margin-left: auto;
  color: #54708f;
  font-size: 10px;
  font-weight: 700;
}

.bot-online i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #55a47a;
  box-shadow: 0 0 0 4px rgba(85, 164, 122, .13);
}

.chatbot-options {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.chatbot-option {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 1px solid #e1e8f0;
  border-radius: 11px;
  padding: 13px;
  color: #1c2d47;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.chatbot-option:hover {
  border-color: #9eb1c9;
  box-shadow: 0 8px 20px rgba(23, 52, 95, .08);
  transform: translateY(-2px);
}

.chatbot-option-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #31527f;
  background: #edf1f6;
  font-size: 18px;
}

.chatbot-option span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.chatbot-option small,
.chatbot-preview small {
  color: #8291a6;
  font-size: 11px;
}

.chatbot-option b {
  color: #31527f;
  font-size: 18px;
}

.chatbot-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px;
  border-radius: 9px;
  background: #f4f7fa;
}

.reminder-modal {
  max-width: 650px;
}

.pending-appointments-list {
  display: grid;
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
  margin-top: 20px;
}

.pending-appointment {
  border: 1px solid #e2e9f1;
  border-radius: 11px;
  padding: 12px;
  background: #f8fafc;
  animation: slideUp .25s ease both;
}

.pending-appointment-main {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
}

.pending-appointment-main > div:nth-child(2) {
  display: grid;
  gap: 3px;
}

.pending-appointment-main small {
  color: #8291a6;
  font-size: 10px;
}

.pending-badge {
  color: #8a6c34;
  background: #f5eddc;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 700;
}

.reminder-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e8edf3;
}

.reminder-action {
  border: 0;
  border-radius: 7px;
  padding: 8px 11px;
  color: #fff;
  font: 600 10px 'DM Sans', sans-serif;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.reminder-action:hover {
  transform: translateY(-1px);
  opacity: .9;
}

.whatsapp-action {
  background: #2f8065;
}

.call-action {
  background: #31527f;
}

.chatbot-preview > div {
  display: grid;
  gap: 3px;
  flex: 1;
}

.chatbot-preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8ba0bb;
}

.coming-soon {
  color: #667c99;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Interacciones del panel */
.nav-item,
.primary-button,
.view-all,
.text-link,
.filter-select,
.calendar-grid span {
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.nav-item:hover {
  transform: translateX(4px);
}

.primary-button:active,
.text-link:active,
.view-all:active {
  transform: scale(.98);
}

.filter-select {
  appearance: none;
  border: 1px solid #d9e2ed;
  border-radius: 7px;
  background: #fff;
  color: #31527f;
  padding: 9px 30px 9px 12px;
  font: 600 11px 'DM Sans', sans-serif;
  cursor: pointer;
}

.filter-select:focus {
  outline: 2px solid rgba(49, 82, 127, .2);
  border-color: #31527f;
}

.calendar-grid span:not(.muted) {
  cursor: pointer;
}

.calendar-grid span:not(.muted):hover {
  background: #e8eef6;
  color: #17345f;
  transform: translateY(-2px);
}

.calendar-grid span.selected:hover {
  background: #29466f;
  color: #fff;
}

.empty-state {
  color: #8796aa;
  text-align: center;
  padding: 28px 16px;
  font-size: 13px;
  animation: fadeIn .25s ease both;
}

.agenda-full-modal {
  max-width: 720px;
}

.team-directory-modal {
  max-width: 650px;
}

.team-directory-list {
  display: grid;
  gap: 10px;
  max-height: 390px;
  overflow-y: auto;
  margin: 20px 0;
}

.team-directory-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e5ebf2;
  border-radius: 10px;
  background: #f8fafc;
}

.team-directory-row > div:nth-child(2) {
  display: grid;
  gap: 3px;
}

.team-directory-row small {
  color: #8291a6;
  font-size: 10px;
}

.team-directory-row em {
  color: #31527f;
  background: #e8eef6;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 10px;
  font-style: normal;
}

.full-agenda-list {
  max-height: 420px;
  overflow-y: auto;
  margin-top: 20px;
}

.agenda-full-row {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e8edf3;
  animation: slideUp .25s ease both;
}

.agenda-full-row > div {
  display: grid;
  gap: 4px;
  color: #17345f;
}

.agenda-full-row > div span,
.agenda-full-row small {
  color: #8291a6;
  font-size: 11px;
}

.agenda-full-row section {
  display: grid;
  gap: 5px;
}

.agenda-full-row em {
  font-style: normal;
  color: #31527f;
  background: #edf1f6;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 10px;
}

.appointment-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
}

.appointment-state {
  border: 1px solid #d9e2ed;
  border-radius: 6px;
  padding: 6px 8px;
  color: #31527f;
  background: #fff;
  font: 600 10px 'DM Sans', sans-serif;
  cursor: pointer;
}

.cancel-appointment {
  border: 0;
  color: #9a5260;
  background: transparent;
  font: 600 10px 'DM Sans', sans-serif;
  cursor: pointer;
  padding: 5px;
}

.cancel-appointment:hover {
  color: #713743;
  text-decoration: underline;
}

.appointment-state:disabled,
.cancel-appointment:disabled {
  opacity: .55;
  cursor: wait;
}

.agenda-full-row .appointment-actions {
  grid-column: 1 / -1;
  justify-content: flex-end;
  margin-top: 2px;
}

#dashboard-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  padding: 13px 16px;
  border-radius: 10px;
  color: #fff;
  background: #0b1b35;
  box-shadow: 0 12px 30px rgba(11, 27, 53, .22);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  font-size: 12px;
}

#dashboard-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .agenda-full-row {
    grid-template-columns: 60px 1fr;
  }

  .agenda-full-row em {
    grid-column: 2;
    justify-self: start;
  }

  .appointment-actions {
    flex-wrap: wrap;
  }
}
