/* ==========================================================================
   Emerald Bay Electric — estilos compartidos (mobile-first)
   ========================================================================== */

:root {
  --color-primary: #0e7c55;
  --color-primary-dark: #0b5f42;
  --color-accent: #f5a623;
  --color-dark: #14251f;
  --color-bg: #f6f8f7;
  --color-surface: #ffffff;
  --color-border: #e1e7e4;
  --color-text: #1f2d27;
  --color-muted: #64766f;
  --color-danger: #c0392b;
  --color-danger-bg: #fdecea;
  --color-success: #1f9d55;
  --color-success-bg: #e9f9ef;
  --color-warning: #b9770e;
  --color-warning-bg: #fef3e2;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(20, 37, 31, 0.08);
  --shadow-lg: 0 8px 30px rgba(20, 37, 31, 0.14);
  --header-h: 60px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; display: block; }
a { color: var(--color-primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  min-height: 48px;
  text-decoration: none;
  transition: background .15s ease, transform .05s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; text-decoration: none; }
.btn-accent { background: var(--color-accent); color: #2b1c02; }
.btn-accent:hover { background: #e0951a; color: #2b1c02; text-decoration: none; }
.btn-outline { background: transparent; color: var(--color-primary-dark); border: 2px solid var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; text-decoration: none; }
.btn-danger { background: var(--color-danger); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; font-size: 18px; padding: 16px 22px; }
.btn-sm { min-height: 36px; padding: 8px 14px; font-size: 14px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Sitio público: header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  font-weight: 800;
  font-size: 18px;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand .bolt { color: var(--color-accent); }
.brand img { display: block; width: auto; }
.logo-on-dark { filter: brightness(0) invert(1); }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-dark);
  position: relative;
  transition: all .2s ease;
}
.nav-toggle span::before { content: ""; position: absolute; top: -7px; width: 22px; background: var(--color-dark); }
.nav-toggle span::after { content: ""; position: absolute; top: 7px; width: 22px; background: var(--color-dark); }

.main-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}
.main-nav.open { display: block; }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 8px 16px 16px;
  display: flex;
  flex-direction: column;
}
.main-nav a {
  display: block;
  padding: 12px 4px;
  color: var(--color-text);
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
}
.main-nav .lang-switch { display: flex; gap: 10px; padding: 12px 4px; }
.main-nav .cta-item { padding-top: 12px; }
.main-nav .cta-item a.btn { color: #fff; border-bottom: none; padding: 14px 20px; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav {
    display: block;
    position: static;
    border: none;
    box-shadow: none;
    background: none;
  }
  .main-nav ul {
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 22px;
  }
  .main-nav a { border: none; padding: 6px 0; }
  .main-nav .cta-item { padding-top: 0; }
}

.flag-icon { width: 18px; height: auto; border-radius: 2px; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }

/* ---------- Selector de idioma (menú desplegable) ---------- */
.lang-dropdown { position: relative; display: inline-block; }
.lang-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  color: var(--color-muted);
  cursor: pointer;
  min-height: auto;
}
.lang-chevron { transition: transform .15s ease; flex-shrink: 0; }
.lang-dropdown.open .lang-chevron { transform: rotate(180deg); }
.lang-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 140px;
  overflow: hidden;
  z-index: 60;
}
.lang-dropdown.open .lang-dropdown-menu { display: block; }
.lang-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  color: var(--color-text);
  font-weight: 600;
  font-size: 14px;
}
.lang-dropdown-menu a:hover { background: var(--color-bg); text-decoration: none; }
.lang-dropdown-menu a.active { background: var(--color-success-bg); color: var(--color-primary-dark); }
.lang-dropdown-dark .lang-dropdown-toggle { border-color: rgba(255,255,255,0.3); color: #fff; }

/* ---------- Hero / secciones públicas ---------- */
.hero {
  background:
    linear-gradient(120deg, rgba(20,37,31,.93) 0%, rgba(20,37,31,.80) 40%, rgba(14,124,85,.55) 100%),
    url('../img/hero-home.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 56px 0 64px;
}
.hero h1 { font-size: 30px; }
.hero p { font-size: 17px; opacity: .92; max-width: 560px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

@media (min-width: 700px) {
  .hero h1 { font-size: 42px; }
}

.section { padding: 48px 0; }
.section-head { max-width: 640px; margin: 0 0 32px; }
.section-head h2 { font-size: 26px; }
.section-head p { color: var(--color-muted); }
.section-alt { background: var(--color-surface); }

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 18px; }
.card p { color: var(--color-muted); margin-bottom: 0; }

.project-card { overflow: hidden; padding: 0; }
.project-card .photo {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.project-card .body { padding: 18px; }

/* ---------- Visor de galería de proyecto (estilo lightbox embebido) ---------- */
.gallery-viewer { margin-top: 8px; }
.gallery-stage {
  position: relative;
  background: var(--color-dark);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.gallery-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.gallery-arrow:hover { background: rgba(0, 0, 0, 0.7); }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }
.gallery-counter {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-top: 10px;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.gallery-thumb {
  flex: 0 0 auto;
  width: 68px;
  height: 52px;
  border-radius: 8px;
  border: 2px solid transparent;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  background: none;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.active { border-color: var(--color-primary); opacity: 1; }
@media (min-width: 640px) {
  .gallery-arrow { width: 52px; height: 52px; font-size: 24px; }
}

.testimonial { font-style: italic; }
.testimonial .author { font-style: normal; font-weight: 700; margin-top: 12px; color: var(--color-dark); }

.trust-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-strip .badge {
  background: var(--color-success-bg);
  color: var(--color-primary-dark);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}

.cta-band {
  background: var(--color-dark);
  color: #fff;
  padding: 44px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }

.site-footer {
  background: var(--color-dark);
  color: #cfe2d8;
  padding: 32px 0;
  font-size: 14px;
}
.site-footer a { color: #fff; }

/* ---------- Formularios ---------- */
.form-group { margin-bottom: 18px; }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 15px; }
.hint { font-size: 13px; color: var(--color-muted); margin-top: 4px; }
input[type=text], input[type=email], input[type=tel], input[type=number],
input[type=date], input[type=time], input[type=password], select, textarea {
  width: 100%;
  font-size: 16px; /* evita zoom automático en iOS */
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
  min-height: 48px;
}
textarea { min-height: 100px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(14, 124, 85, 0.15);
}
.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-chip {
  border: 2px solid var(--color-border);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.radio-chip input { position: absolute; opacity: 0; pointer-events: none; }
.radio-chip.checked { border-color: var(--color-primary); background: var(--color-success-bg); color: var(--color-primary-dark); }

.alert { border-radius: var(--radius); padding: 14px 16px; margin-bottom: 18px; font-weight: 600; }
.alert-error { background: var(--color-danger-bg); color: var(--color-danger); }
.alert-success { background: var(--color-success-bg); color: var(--color-primary-dark); }
.alert-warning { background: var(--color-warning-bg); color: var(--color-warning); }

/* ---------- Calendario de reserva ---------- */
.date-picker { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.date-pill {
  flex: 0 0 auto;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 10px 14px;
  text-align: center;
  cursor: pointer;
  min-width: 64px;
  background: #fff;
}
.date-pill .dow { font-size: 11px; text-transform: uppercase; color: var(--color-muted); display: block; }
.date-pill .num { font-size: 18px; font-weight: 700; }
.date-pill.selected { border-color: var(--color-primary); background: var(--color-success-bg); }

.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
@media (min-width: 480px) { .slots-grid { grid-template-columns: repeat(4, 1fr); } }
.slot-btn {
  border: 2px solid var(--color-border);
  background: #fff;
  border-radius: var(--radius);
  padding: 12px 4px;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
}
.slot-btn.selected { border-color: var(--color-primary); background: var(--color-primary); color: #fff; }

/* ==========================================================================
   Panel de gestión (zona privada)
   ========================================================================== */
.app-shell { display: flex; flex-direction: column; min-height: 100vh; }
.app-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--color-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}
.app-topbar .brand { color: #fff; }
.app-topbar .menu-btn { color: #fff; background: none; border: none; width: 44px; height: 44px; }
.app-topbar .menu-btn span, .app-topbar .menu-btn span::before, .app-topbar .menu-btn span::after { background: #fff; }

.app-sidebar {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--color-dark);
  color: #eef5f1;
  transform: translateX(-100%);
  transition: transform .2s ease;
  z-index: 39;
  overflow-y: auto;
}
.app-sidebar.open { transform: translateX(0); }
.app-sidebar nav { padding: 8px; }
.app-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d9e8e1;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
}
.app-sidebar a.active, .app-sidebar a:hover { background: rgba(255,255,255,0.1); color: #fff; text-decoration: none; }
.app-sidebar a.active { color: var(--color-accent); }
.app-sidebar a.active .nav-icon { color: var(--color-accent); }
.nav-icon { width: 17px; height: 17px; flex-shrink: 0; }
.nav-section {
  margin: 10px 12px 2px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.app-sidebar a.logout-link { margin-top: 10px; color: #f0a3a3; }
.app-sidebar a.logout-link:hover { background: rgba(255,255,255,0.1); color: #fff; }
.app-sidebar .user-box { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: 4px; }
.app-sidebar .user-box .role { color: var(--color-accent); font-size: 12px; font-weight: 700; text-transform: uppercase; }

.app-main { flex: 1; padding: 18px 14px 90px; max-width: 100%; }

@media (min-width: 960px) {
  .app-topbar .menu-btn { display: none; }
  .app-sidebar {
    position: sticky;
    inset: auto;
    top: var(--header-h);
    transform: none;
    width: 240px;
    height: calc(100vh - var(--header-h));
    flex-shrink: 0;
  }
  .app-shell-body { display: flex; flex: 1; }
  .app-main { padding: 26px 30px 60px; }
}

.page-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.page-head h1 { font-size: 22px; }

.stat-cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 24px; }
@media (min-width: 640px) { .stat-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .stat-cards { grid-template-columns: repeat(4, 1fr); } }
.stat-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 18px; }
.stat-card .value { font-size: 26px; font-weight: 800; color: var(--color-dark); }
.stat-card .label { color: var(--color-muted); font-size: 13px; text-transform: uppercase; font-weight: 700; }

.panel { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 18px; margin-bottom: 20px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.panel-head h2 { font-size: 17px; margin: 0; }

table { width: 100%; border-collapse: collapse; }
.table-wrap { overflow-x: auto; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--color-border); font-size: 14px; white-space: nowrap; }
th { color: var(--color-muted); font-size: 12px; text-transform: uppercase; }

.badge-status { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-pendiente, .badge-nuevo, .badge-presupuesto { background: var(--color-warning-bg); color: var(--color-warning); }
.badge-confirmada, .badge-en_curso, .badge-contactado { background: #e4f0fb; color: #1a5fa8; }
.badge-completada, .badge-finalizado, .badge-convertido { background: var(--color-success-bg); color: var(--color-primary-dark); }
.badge-cancelada, .badge-descartado { background: var(--color-danger-bg); color: var(--color-danger); }
.badge-pausado { background: #eee; color: #555; }

.budget-bar { background: #eef2f0; border-radius: 999px; height: 14px; overflow: hidden; }
.budget-bar > div { height: 100%; background: var(--color-primary); }
.budget-bar.over > div { background: var(--color-danger); }
.budget-bar.near > div { background: var(--color-warning); }

.list-clean { list-style: none; margin: 0; padding: 0; }
.list-clean li { padding: 12px 0; border-bottom: 1px solid var(--color-border); }
.list-clean li:last-child { border-bottom: none; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 37, 31, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}
.modal-overlay[hidden] { display: none; }
.modal-box {
  background: var(--color-surface);
  border-radius: var(--radius);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
}
.modal-close {
  cursor: pointer;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--color-muted);
}

.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
}

.autocomplete { position: relative; }
.autocomplete-list {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 30;
  max-height: 240px;
  overflow-y: auto;
  margin-top: 4px;
}
.autocomplete-list .opt { padding: 12px 14px; border-bottom: 1px solid var(--color-border); cursor: pointer; }
.autocomplete-list .opt:last-child { border-bottom: none; }
.autocomplete-list .opt:hover, .autocomplete-list .opt.active { background: var(--color-success-bg); }
.autocomplete-list .opt small { display: block; color: var(--color-muted); }
.autocomplete-list .opt.create-new { color: var(--color-primary-dark); font-weight: 700; }

.row-2 { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 480px) {
  .row-2 { grid-template-columns: 1fr 1fr; gap: 12px; }
}
/* Los pares del formulario rápido de gastos (cantidad+unidad, etc.) son
   campos cortos que caben bien en 2 columnas incluso en móviles pequeños. */
.quick-form .row-2 { grid-template-columns: 1fr 1fr; gap: 12px; }

.quick-form .form-group { margin-bottom: 16px; }
.quick-total { background: var(--color-success-bg); border-radius: var(--radius); padding: 16px; text-align: center; margin: 6px 0 18px; }
.quick-total .amount { font-size: 28px; font-weight: 800; color: var(--color-primary-dark); }

/* Acciones (Editar/Eliminar) que solo aparecen al pasar el ratón por la
   fila/tarjeta, para no saturar visualmente las listas. Siguen accesibles
   por teclado gracias a :focus-within. */
.hover-actions { opacity: 0; transition: opacity .12s ease; }
tr:hover .hover-actions,
.card:hover .hover-actions,
li:hover .hover-actions,
.hover-actions:focus-within { opacity: 1; }
@media (hover: none) {
  .hover-actions { opacity: 1; }
}

.file-input { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.file-input input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.file-input-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.file-input-name { color: var(--color-muted); font-size: 14px; }

.text-muted { color: var(--color-muted); }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

.date-nav { display: flex; align-items: center; gap: 8px; }
.date-nav > .btn { flex-shrink: 0; }
.date-nav > .btn[disabled] { opacity: .35; cursor: default; }
.date-nav > div { flex: 1; min-width: 0; text-align: center; }

/* ---------- Agenda: selector de vista + semana/mes ---------- */
.view-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.view-tabs a {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-muted);
  font-weight: 700;
  font-size: 14px;
}
.view-tabs a.active { background: var(--color-dark); color: #fff; border-color: var(--color-dark); }

a.week-day { display: block; color: inherit; text-decoration: none; }
a.week-day:hover { text-decoration: none; border-color: var(--color-primary); }
a.week-day.is-today { border-color: var(--color-primary); background: var(--color-success-bg); }

.month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.month-head {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  padding-bottom: 6px;
}
.month-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: none;
  font-family: inherit;
  cursor: pointer;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  background: var(--color-bg);
}
.month-cell:hover { background: var(--color-success-bg); text-decoration: none; }
.month-cell.is-outside { color: var(--color-border); }
.month-cell.is-empty { visibility: hidden; pointer-events: none; }
.month-cell.is-today { background: var(--color-primary); color: #fff; }
.month-cell.is-selected { background: var(--color-accent); color: #2b1c02; }
.month-cell.is-disabled { color: var(--color-border); cursor: not-allowed; background: transparent; }
.month-cell.is-disabled:hover { background: transparent; }
.month-cell .dot {
  position: absolute;
  bottom: 3px;
  right: 3px;
  background: var(--color-accent);
  color: #2b1c02;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.month-cell.is-today .dot { background: #fff; color: var(--color-primary-dark); }
@media (min-width: 640px) {
  .month-cell { font-size: 15px; }
}
