/* ==========================================================================
   CEE Account — modern My Account experience
   ========================================================================== */
:root {
  --cee-green: #1f7357;
  --cee-green-2: #2e9e7a;
  --cee-ink: #1f2d2a;
  --cee-muted: #5f6b66;
  --cee-line: #e4ebe7;
  --cee-bg: #f5f9f7;
}

/* ---- Layout: nav + content as cards ---- */
.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 24%;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--cee-line);
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(31,115,87,.06);
}
.woocommerce-account .woocommerce-MyAccount-navigation li {
  border: 0;
  margin: 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  color: var(--cee-ink);
  font-weight: 600;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: var(--cee-bg);
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  background: var(--cee-green);
  color: #fff;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a::before {
  font-family: dashicons;
  font-size: 18px;
  width: 18px;
  height: 18px;
  line-height: 1;
  flex: 0 0 auto;
  opacity: .9;
}
.woocommerce-MyAccount-navigation-link--dashboard a::before        { content: "\f226"; }
.woocommerce-MyAccount-navigation-link--bookings a::before         { content: "\f508"; }
.woocommerce-MyAccount-navigation-link--cee-professionals a::before{ content: "\f307"; }
.woocommerce-MyAccount-navigation-link--cee-pay a::before          { content: "\f18e"; }
.woocommerce-MyAccount-navigation-link--orders a::before           { content: "\f163"; }
.woocommerce-MyAccount-navigation-link--payment-methods a::before  { content: "\f16a"; }
.woocommerce-MyAccount-navigation-link--edit-address a::before     { content: "\f230"; }
.woocommerce-MyAccount-navigation-link--edit-account a::before     { content: "\f338"; }
.woocommerce-MyAccount-navigation-link--customer-logout a::before  { content: "\f335"; }

.woocommerce-account .woocommerce-MyAccount-content {
  width: 72%;
  background: #fff;
  border: 1px solid var(--cee-line);
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(31,115,87,.06);
  padding: 26px 28px;
}

/* ---- Hero ---- */
.cee-acct-hero { margin-bottom: 18px; }
.cee-acct-hi { margin: 0; font-size: 24px; color: var(--cee-ink); }
.cee-acct-sub { margin: 4px 0 0; color: var(--cee-muted); }
.cee-acct-h { margin: 26px 0 12px; font-size: 16px; color: var(--cee-ink); }

/* ---- Stat cards ---- */
.cee-acct-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cee-acct-stat {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 4px;
  padding: 20px 18px 22px; border-radius: 14px; text-decoration: none;
  background: var(--cee-bg); border: 1px solid var(--cee-line); color: var(--cee-ink);
  transition: transform .14s, box-shadow .14s, border-color .14s;
  opacity: 0; transform: translateY(10px);
  animation: cee-stat-in .5s cubic-bezier(.2,.7,.3,1) forwards;
}
.cee-acct-stat:nth-child(1) { animation-delay: .05s; }
.cee-acct-stat:nth-child(2) { animation-delay: .15s; }
.cee-acct-stat:nth-child(3) { animation-delay: .25s; }
@keyframes cee-stat-in { to { opacity: 1; transform: translateY(0); } }
a.cee-acct-stat:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(31,115,87,.12); border-color: var(--cee-green-2); }
.cee-acct-stat-val {
  font-size: 40px; font-weight: 800; line-height: 1.05; letter-spacing: -.5px;
  background: linear-gradient(90deg, var(--cee-green) 0%, var(--cee-green-2) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--cee-green);
  font-variant-numeric: tabular-nums;
}
.cee-acct-stat-lbl { font-size: 11.5px; color: var(--cee-muted); text-transform: uppercase; letter-spacing: .8px; font-weight: 600; }
/* Animated accent bar that draws itself in under the number. */
.cee-acct-stat-bar { position: absolute; left: 18px; bottom: 14px; height: 3px; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--cee-green), var(--cee-green-2)); opacity: .55;
  animation: cee-bar-grow .7s cubic-bezier(.2,.7,.3,1) forwards; animation-delay: .35s; }
.cee-acct-stat:nth-child(2) .cee-acct-stat-bar { animation-delay: .45s; }
.cee-acct-stat:nth-child(3) .cee-acct-stat-bar { animation-delay: .55s; }
@keyframes cee-bar-grow { to { width: 38px; } }
.cee-acct-stat.is-due .cee-acct-stat-val {
  background: linear-gradient(90deg, #c0461f, #e0703f);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #b3431f;
}
.cee-acct-stat.is-due .cee-acct-stat-bar { background: linear-gradient(90deg, #c0461f, #e0703f); }
@media (prefers-reduced-motion: reduce) {
  .cee-acct-stat, .cee-acct-stat-bar { animation: none; opacity: 1; transform: none; width: 38px; }
}

/* ---- Callout ---- */
.cee-acct-callout {
  display: flex; align-items: center; gap: 10px; margin-top: 16px;
  padding: 14px 16px; border-radius: 12px; text-decoration: none;
  background: #fdebd2; border: 1px solid #e7b878;
}
/* Force a high-contrast color over the theme's pale link styling. */
.cee-acct-callout,
.cee-acct-callout span,
.cee-acct-callout strong,
.cee-acct-callout bdi,
.cee-acct-callout .woocommerce-Price-amount {
  color: #7a4f06 !important;
}
.cee-acct-callout strong { font-weight: 800; }
.cee-acct-callout u {
  color: #a85a08 !important; font-weight: 700; text-underline-offset: 2px;
}
.cee-acct-callout:hover u { color: #7a4f06 !important; }
.cee-acct-callout .dashicons { color: #c9803a !important; }

/* ---- Quick links ---- */
.cee-acct-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cee-acct-ql {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  padding: 16px 10px; border-radius: 12px; text-decoration: none;
  background: #fff; border: 1px solid var(--cee-line); color: var(--cee-ink); font-weight: 600; font-size: 13px;
  transition: border-color .12s, box-shadow .12s, transform .12s;
}
.cee-acct-ql:hover { border-color: var(--cee-green-2); box-shadow: 0 8px 18px rgba(31,115,87,.10); transform: translateY(-2px); }
.cee-acct-ql .dashicons { color: var(--cee-green-2); font-size: 24px; width: 24px; height: 24px; }

/* ---- Booking list ---- */
.cee-acct-list { display: flex; flex-direction: column; gap: 8px; }
.cee-acct-bk { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--cee-line); border-radius: 12px; }
.cee-acct-bk-img img, .cee-acct-hire-img img, .cee-acct-prof-img img { border-radius: 10px; display: block; object-fit: cover; }
.cee-acct-ph { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 10px; background: var(--cee-bg); color: var(--cee-green-2); }
.cee-acct-bk-main { display: flex; flex-direction: column; flex: 1; }
.cee-acct-bk-when { color: var(--cee-muted); font-size: 13px; }
.cee-acct-bk-status { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #eef0f2; color: #555; white-space: nowrap; }
.cee-acct-bk-status--confirmed, .cee-acct-bk-status--paid, .cee-acct-bk-status--complete { background: #e2f5e9; color: #1d7a46; }
.cee-acct-bk-status--pending-confirmation { background: #fcf3d8; color: #996800; }
.cee-acct-bk-status--cancelled { background: #fbe5e5; color: #8a2424; }

/* ---- Recent hires (dashboard row) ---- */
.cee-acct-hires { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cee-acct-hire { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--cee-line); border-radius: 12px; text-decoration: none; color: var(--cee-ink); transition: transform .12s, box-shadow .12s; }
.cee-acct-hire:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(31,115,87,.10); }
.cee-acct-hire-name { font-weight: 700; flex: 1; }
.cee-acct-hire-cta { color: var(--cee-green-2); font-size: 12px; font-weight: 700; }

/* ---- My Professionals grid ---- */
.cee-acct-prof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cee-acct-prof { border: 1px solid var(--cee-line); border-radius: 14px; overflow: hidden; background: #fff; }
.cee-acct-prof-img { display: block; }
.cee-acct-prof-img img { width: 100%; height: 150px; object-fit: cover; }
.cee-acct-prof-img .cee-acct-ph { width: 100%; height: 150px; border-radius: 0; }
.cee-acct-prof-body { padding: 12px 14px; }
.cee-acct-prof-name { display: block; font-weight: 800; color: var(--cee-ink); text-decoration: none; font-size: 15px; }
.cee-acct-prof-meta { color: var(--cee-muted); font-size: 12.5px; margin: 2px 0 10px; }

/* ---- Buttons ---- */
.cee-acct-btn { display: inline-block; background: var(--cee-green); color: #fff !important; text-decoration: none; font-weight: 800; font-size: 13px; padding: 9px 16px; border: 0; border-radius: 999px; cursor: pointer; }
.cee-acct-btn:hover { background: var(--cee-green-2); }
.cee-acct-btn--lg { padding: 12px 22px; font-size: 15px; }

/* ---- Pay Outstanding ---- */
.cee-acct-paytable { width: 100%; border-collapse: collapse; margin-top: 8px; }
.cee-acct-paytable th, .cee-acct-paytable td { padding: 12px 10px; border-bottom: 1px solid var(--cee-line); text-align: left; }
.cee-acct-paytable thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--cee-muted); }
.cee-acct-check { width: 38px; text-align: center; }
.cee-acct-paybar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.cee-acct-paytotal { font-size: 15px; color: var(--cee-ink); }
.cee-acct-paytotal strong { color: var(--cee-green); font-size: 20px; }

/* ---- Misc ---- */
.cee-acct-empty { padding: 22px; text-align: center; color: var(--cee-muted); background: var(--cee-bg); border: 1px dashed var(--cee-line); border-radius: 12px; }
.cee-acct-empty a { color: var(--cee-green); font-weight: 700; }
.cee-acct-flash { padding: 12px 16px; border-radius: 10px; background: #e2f5e9; border: 1px solid #cde9dc; color: #1d6a44; margin-bottom: 16px; }
.cee-acct-flash--warn { background: #fff7ec; border-color: #f0d9a8; color: #7a5b16; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content { width: 100%; }
  .cee-acct-stats, .cee-acct-quick, .cee-acct-hires, .cee-acct-prof-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .cee-acct-stats, .cee-acct-quick, .cee-acct-hires, .cee-acct-prof-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   v1.0.1 — fluid, cleaner, smaller buttons; consistent county-style cards
   ========================================================================== */
.woocommerce-account .woocommerce-MyAccount-content { padding: clamp(16px, 3vw, 28px); }

/* Fluid grids that adapt instead of fixed columns (no awkward wraps). */
.cee-acct-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.cee-acct-quick { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.cee-acct-hires { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Smaller, tidier buttons. */
.cee-acct-btn { padding: 8px 14px; font-size: 12.5px; line-height: 1.2; }
.cee-acct-btn--lg { padding: 11px 18px; font-size: 14px; }
.cee-acct-stat-val { font-size: clamp(20px, 3.4vw, 26px); }

/* Softer lines. */
.cee-acct-bk { border-color: #eef2f0; }
.cee-acct-hire { border-color: #eef2f0; }

/* My Professionals: WooCommerce product cards (same as county browse),
   re-flowed into a clean responsive grid inside the account card. */
.cee-acct-pros ul.products {
  margin: 10px 0 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.cee-acct-pros ul.products::before,
.cee-acct-pros ul.products::after { content: none !important; display: none !important; }
.cee-acct-pros ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
}

/* ==========================================================================
   v1.1.0 — slim booking cards + recent-hire availability chips
   ========================================================================== */
.cee-acct-bk { padding: 8px 10px; gap: 10px; }
.cee-acct-bk .cee-acct-ph { width: 40px; height: 40px; }
.cee-acct-bk-img img { width: 40px; height: 40px; }
.cee-acct-bk-when { font-size: 12.5px; }

.cee-acct-hire { align-items: flex-start; padding: 12px; gap: 12px; }
.cee-acct-hire .cee-acct-ph { width: 48px; height: 48px; flex: 0 0 auto; }
.cee-acct-hire-img img { width: 48px; height: 48px; flex: 0 0 auto; }
.cee-acct-hire-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.cee-acct-hire-name { font-weight: 800; color: var(--cee-ink); }
.cee-acct-avail { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #1d7a46; font-weight: 600; }
.cee-acct-avail-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cee-green-2); flex: 0 0 auto; }
.cee-acct-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.cee-acct-datechip { font-size: 11px; font-weight: 700; color: #2c4a40; background: #e7f5ee; border-radius: 6px; padding: 2px 7px; }
.cee-acct-hire-cta { color: var(--cee-green-2); font-size: 12px; font-weight: 800; margin-top: 2px; }

/* ==========================================================================
   v1.2.0 — full-width recent hires, clean professional cards, fixes
   ========================================================================== */

/* Tighten the vertical rhythm (kill the dead space under headings). */
.cee-acct .cee-acct-h { margin: 20px 0 8px !important; }
.cee-acct .cee-acct-list,
.cee-acct .cee-acct-hires { margin: 0 !important; }
.cee-acct .cee-acct-empty { margin: 0 !important; }

/* Smaller "large" buttons (Pay Outstanding etc.). */
.cee-acct-btn--lg { padding: 9px 16px; font-size: 13px; }

/* Membership nav icon. */
.woocommerce-MyAccount-navigation-link--members-area a::before,
.woocommerce-MyAccount-navigation-link--membership a::before,
.woocommerce-MyAccount-navigation-link--memberships a::before,
.woocommerce-MyAccount-navigation-link--my-membership a::before,
.woocommerce-MyAccount-navigation-link--my-memberships a::before { content: "\f313"; }

/* ---- Recent hires: full-width rows packed with availability ---- */
.cee-acct-hires { display: flex !important; flex-direction: column; gap: 10px; grid-template-columns: none !important; }
.cee-acct-hire-row {
  display: flex; align-items: flex-start; gap: 14px; width: 100%;
  padding: 14px 16px; border: 1px solid var(--cee-line); border-radius: 14px;
  background: #fff; text-decoration: none; color: var(--cee-ink);
  transition: box-shadow .12s, border-color .12s;
}
.cee-acct-hire-row:hover { border-color: var(--cee-green-2); box-shadow: 0 8px 20px rgba(31,115,87,.08); }
.cee-acct-hire-row-img { flex: 0 0 auto; }
.cee-acct-hire-row-img img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; display: block; }
.cee-acct-hire-row-img .cee-acct-ph { width: 56px; height: 56px; border-radius: 12px; }
.cee-acct-hire-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cee-acct-hire-row-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cee-acct-hire-row .cee-acct-hire-name { font-size: 16px; font-weight: 800; }
.cee-acct-hire-row .cee-acct-hire-cta { color: var(--cee-green-2); font-size: 13px; font-weight: 800; white-space: nowrap; }
.cee-acct-avail { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: #1d7a46; font-weight: 700; }
.cee-acct-avail--none { color: #8a6d3b; }
.cee-acct-avail-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cee-green-2); flex: 0 0 auto; }
.cee-acct-avail--none .cee-acct-avail-dot { background: #d0a548; }
.cee-acct-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cee-acct-datechip { font-size: 12px; font-weight: 700; color: #2c4a40; background: #e7f5ee; border: 1px solid #d2ebde; border-radius: 8px; padding: 3px 9px; }
.cee-acct-datechip--more { background: #eef2f0; border-color: #e0e6e3; color: #5f6b66; }

/* ---- My Professionals: clean cards w/ the real availability widget ---- */
.cee-acct-pros .cee-pro-card {
  border: 1px solid var(--cee-line); border-radius: 16px; background: #fff;
  padding: 16px 18px; margin: 0 0 16px; box-shadow: 0 4px 16px rgba(31,115,87,.05);
}
.cee-acct-pros .cee-pro-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.cee-acct-pros .cee-pro-thumb { flex: 0 0 auto; }
.cee-acct-pros .cee-pro-thumb img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; display: block; }
.cee-acct-pros .cee-pro-thumb .cee-acct-ph { width: 60px; height: 60px; border-radius: 12px; }
.cee-acct-pros .cee-pro-name { font-size: 18px; font-weight: 800; color: var(--cee-ink); text-decoration: none; line-height: 1.2; }
.cee-acct-pros .cee-pro-meta { color: var(--cee-muted); font-size: 12.5px; margin-top: 3px; }
/* the embedded availability widget sits flush inside the card */
.cee-acct-pros .cee-pro-card .cee-avail { margin: 0; }

/* ==========================================================================
   v1.2.1 — Pay action button: keep it inside the card + match the softer
   header-link blue (override the theme's navy button styling).
   ========================================================================== */
.cee-acct-payform,
.cee-acct-paybar,
.cee-acct-paytable { max-width: 100%; box-sizing: border-box; }
.cee-acct-paybar { flex-wrap: wrap; gap: 12px 16px; }

.cee-acct-btn--lg {
  background: #3f7cc4 !important;
  border: 1px solid #3f7cc4 !important;
  color: #fff !important;
  max-width: 100%;
  white-space: normal;
  padding: 10px 18px;
  font-size: 13px;
  line-height: 1.25;
}
.cee-acct-btn--lg:hover {
  background: #336aad !important;
  border-color: #336aad !important;
}

/* v1.2.2 — Sub-Accounts (multi-account add-on) nav icon. */
.woocommerce-MyAccount-navigation-link--multi-accounts a::before,
.woocommerce-MyAccount-navigation-link--multiple-accounts a::before,
.woocommerce-MyAccount-navigation-link--sub-accounts a::before,
.woocommerce-MyAccount-navigation-link--sub-account a::before,
.woocommerce-MyAccount-navigation-link--multi-account a::before,
.woocommerce-MyAccount-navigation-link--child-accounts a::before,
.woocommerce-MyAccount-navigation-link--accounts a::before { content: "\f325"; }

/* ==========================================================================
   v1.3.0 — My Bookings month-slider calendar + detail modal
   ========================================================================== */
.cee-cal { margin-top: 6px; }
.cee-cal-head { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 14px; }
.cee-cal-title { font-size: 18px; font-weight: 800; color: var(--cee-ink); min-width: 160px; text-align: center; }
.cee-cal-nav { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--cee-line); background: #fff; color: var(--cee-green); font-size: 20px; line-height: 1; cursor: pointer; transition: background .12s, border-color .12s; }
.cee-cal-nav:hover:not(:disabled) { background: var(--cee-bg); border-color: var(--cee-green-2); }
.cee-cal-nav:disabled { opacity: .35; cursor: default; }

.cee-cal-slide { display: none; }
.cee-cal-slide.is-active { display: block; }
.cee-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cee-cal-dow { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--cee-muted); padding-bottom: 4px; }
.cee-cal-cell { min-height: 84px; border: 1px solid var(--cee-line); border-radius: 10px; padding: 6px; background: #fff; display: flex; flex-direction: column; gap: 4px; }
.cee-cal-cell--blank { border: 0; background: transparent; }
.cee-cal-cell.has { background: #fbfdfc; }
.cee-cal-num { font-size: 12px; font-weight: 700; color: #8a948f; }
.cee-cal-chip { text-align: left; border: 0; cursor: pointer; border-radius: 7px; padding: 4px 7px; font-size: 11.5px; font-weight: 700; line-height: 1.25; color: #fff; background: var(--c, #2e9e7a); border-left: 3px solid rgba(0,0,0,.18); }
.cee-cal-chip:hover { filter: brightness(1.06); }
.cee-cal-chip-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cee-cal-chip--pending-confirmation { opacity: .92; }
.cee-cal-chip--cancelled { background: #b9c2bd !important; text-decoration: line-through; }

/* Detail modal */
.cee-cal-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 18px; }
.cee-cal-modal[hidden] { display: none; }
.cee-cal-modal-backdrop { position: absolute; inset: 0; background: rgba(18,32,28,.5); }
.cee-cal-modal-card { position: relative; z-index: 1; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.28); width: 100%; max-width: 420px; padding: 22px 24px; }
.cee-cal-modal-x { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; font-size: 24px; line-height: 1; color: #9aa6a1; cursor: pointer; }
.cee-cal-m-head { display: flex; align-items: center; gap: 12px; }
.cee-cal-m-img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; }
.cee-cal-m-ph { background: var(--cee-bg); color: var(--cee-green); font-weight: 800; font-size: 22px; }
.cee-cal-m-name { font-size: 18px; font-weight: 800; color: var(--cee-ink); }
.cee-cal-m-status { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #eef0f2; color: #555; }
.cee-cal-m-status--confirmed, .cee-cal-m-status--paid, .cee-cal-m-status--complete { background: #e2f5e9; color: #1d7a46; }
.cee-cal-m-status--pending-confirmation { background: #fcf3d8; color: #996800; }
.cee-cal-m-status--cancelled { background: #fbe5e5; color: #8a2424; }
.cee-cal-m-meta { margin: 16px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: 14px; }
.cee-cal-m-meta dt { color: var(--cee-muted); font-weight: 700; }
.cee-cal-m-meta dd { margin: 0; color: var(--cee-ink); }
.cee-cal-m-meta a { color: var(--cee-green); font-weight: 700; }
.cee-cal-m-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cee-acct-btn--ghost { background: #fff !important; color: var(--cee-green) !important; border: 1px solid var(--cee-line) !important; }

@media (max-width: 600px) {
  .cee-cal-cell { min-height: 64px; padding: 4px; }
  .cee-cal-chip { font-size: 10.5px; padding: 3px 5px; }
  .cee-cal-num { font-size: 11px; }
}

/* ==========================================================================
   v1.3.2 — lighter-blue calendar accents + clearer nav arrows
   (override the theme's navy button styling that was bleeding onto chips/controls)
   ========================================================================== */
.cee-cal-chip {
  background: #3f7cc4 !important;
  color: #fff !important;
  border: 0 !important;
  border-left: 3px solid rgba(255, 255, 255, .45) !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 700 !important;
}
.cee-cal-chip:hover { background: #336aad !important; }
.cee-cal-chip--cancelled { background: #b9c2bd !important; text-decoration: line-through; }

.cee-cal-nav {
  width: 40px !important;
  height: 40px !important;
  min-width: 0 !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: #eaf1f9 !important;
  border: 1px solid #bcd0e6 !important;
  color: #3f7cc4 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  text-transform: none !important;
  cursor: pointer;
}
.cee-cal-nav:hover:not(:disabled) { background: #d8e6f5 !important; border-color: #3f7cc4 !important; }
.cee-cal-nav:disabled { opacity: .4 !important; cursor: default; }

.cee-cal-modal-x {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #9aa6a1 !important;
  font-size: 26px !important;
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  line-height: 1 !important;
}
.cee-cal-modal-x:hover { color: #5f6b66 !important; }

/* v1.3.3 — higher-specificity calendar overrides so theme button styles can’t win */
.woocommerce-account .cee-acct .cee-cal-chip { background:#3f7cc4 !important; color:#fff !important; border:0 !important; border-left:3px solid rgba(255,255,255,.45) !important; box-shadow:none !important; text-transform:none !important; letter-spacing:0 !important; }
.woocommerce-account .cee-acct .cee-cal-chip:hover { background:#336aad !important; }
.woocommerce-account .cee-acct .cee-cal-chip--cancelled { background:#b9c2bd !important; }
.woocommerce-account .cee-acct .cee-cal-nav { width:40px !important; height:40px !important; min-width:0 !important; padding:0 !important; border-radius:50% !important; background:#eaf1f9 !important; border:1px solid #bcd0e6 !important; color:#3f7cc4 !important; font-size:24px !important; line-height:1 !important; display:inline-flex !important; align-items:center; justify-content:center; box-shadow:none !important; }
.woocommerce-account .cee-acct .cee-cal-nav:hover:not(:disabled) { background:#d8e6f5 !important; border-color:#3f7cc4 !important; }
.woocommerce-account .cee-acct .cee-cal-modal-x { background:transparent !important; border:0 !important; box-shadow:none !important; color:#9aa6a1 !important; }
