/* ==========================================================================
   MOSTACHE BARBERÍA V2 - MOBILE-FIRST REDESIGN STYLESHEET
   ========================================================================== */

:root {
  --bg-dark: #121212;
  --bg-card: rgba(230, 230, 230, 0.85);
  --bg-card-light: #ffffff;
  --bg-sheet: #e6e6e6;
  --primary: #111111;
  --accent: #d4af37; /* Gold accent */
  --text-main: #1a1a1a;
  --text-muted: #666666;
  --text-light: #ffffff;
  --radius-card: 28px;
  --radius-sheet: 36px;
  --radius-pill: 50px;
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --transition-speed: 0.35s;
}

body.dark-mode {
  --bg-dark: #121212;
  --bg-card: rgba(40, 40, 40, 0.85);
  --bg-card-light: #2c2c2c;
  --bg-sheet: #1a1a1a;
  --primary: #ffffff;
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  --text-light: #cccccc;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  letter-spacing: -0.07em;
}

body {
  font-family: var(--font-family);
  background-color: #0b0b0b;
  color: var(--text-main);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow-x: hidden;
  letter-spacing: -0.07em;
}

/* --------------------------------------------------------------------------
   App Container (Mobile Frame on Desktop / Native Fullscreen on Mobile)
   -------------------------------------------------------------------------- */
.app-container {
  width: 100%;
  height: 100vh;
  background-color: var(--bg-sheet);
  position: relative;
  overflow: hidden;
  box-shadow: none; /* No shadow needed for full screen */
  border-radius: 0;
}

@media (min-width: 480px) {
  .app-container {
    border-radius: 0;
    height: 100vh;
    border: none;
    max-height: 100vh;
  }
}

/* --------------------------------------------------------------------------
   Screen Transitions (SPA Screens)
   -------------------------------------------------------------------------- */
.app-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96) translateY(20px);
  transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease, visibility var(--transition-speed);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background-color: var(--bg-sheet);
  z-index: 1;
}

.app-screen.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
  z-index: 10;
}

/* --------------------------------------------------------------------------
   Header & Back Navigation Buttons
   -------------------------------------------------------------------------- */
.screen-header {
  padding: 20px 24px 10px;
  display: flex;
  align-items: center;
}

.nav-back-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #111;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-back-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.5px;
}

.nav-back-btn:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.4);
}

.nav-back-btn.floating-back {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 20;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.3);
}

.screen-body {
  padding: 10px 24px 40px;
}

.title-block {
  margin-bottom: 24px;
}

.screen-title {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  color: #0d0d0d;
}

.screen-subtitle {
  font-size: 14px;
  color: #555555;
  margin-top: 4px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   SCREEN 1: HERO WITH VIDEO & SWIPE BUTTON
   -------------------------------------------------------------------------- */
#screen-hero {
  background-color: #1a1a1a;
  color: var(--text-light);
}

.video-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

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

.bg-video-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.65) 70%, rgba(0,0,0,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 24px;
}

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

.hamburger-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 0;
}

.hamburger-btn span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
}

.hero-logo-center {
  height: 48px;
  object-fit: contain;
}

.hero-brand-spacer {
  width: 26px;
}

.hero-text-block {
  text-align: left;
  margin-top: auto;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.hero-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 320px;
  margin: 0;
  line-height: 1.4;
}

/* Interactive Swipe Container */

.swipe-container {
  position: relative;
  width: 100%;
  height: 64px;
  background: rgba(220, 220, 220, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  padding: 5px;
  margin-top: 16px;
  margin-bottom: 0;
  touch-action: none;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.swipe-track-text {
  position: absolute;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #4a4a4a;
  pointer-events: none;
}

.swipe-arrows {
  display: flex;
  gap: 2px;
  color: rgba(80, 80, 80, 0.5);
  font-size: 16px;
  font-weight: 700;
  animation: pulseArrows 1.5s infinite;
}

@keyframes pulseArrows {
  0%, 100% { opacity: 0.3; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

.swipe-knob {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  position: absolute;
  left: 5px;
  z-index: 10;
  transition: transform 0.1s linear;
}

.swipe-knob:active {
  cursor: grabbing;
}

.scissors-icon {
  width: 24px;
  height: 24px;
  color: #111111;
}

.hero-scroll-indicator {
  display: flex;
  justify-content: center;
  margin-top: 18px;
  gap: 6px;
}

.hero-scroll-indicator .chevron {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.7);
  border-bottom: 2px solid rgba(255,255,255,0.7);
  transform: rotate(45deg);
  animation: bounceDown 1.6s infinite;
}

.hero-scroll-indicator .chevron:nth-child(2) {
  animation-delay: 0.2s;
  opacity: 0.6;
}

.hero-scroll-indicator .chevron:nth-child(3) {
  animation-delay: 0.4s;
  opacity: 0.3;
}

@keyframes bounceDown {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.8; }
  50% { transform: rotate(45deg) translateY(5px); opacity: 0.3; }
}

/* --------------------------------------------------------------------------
   SCREEN 2: ELIGE TU SERVICIO (SERVICE LIST & CARDS)
   -------------------------------------------------------------------------- */
#screen-services {
  background: #fbfaf8;
}

#screen-services .screen-header {
  min-height: 62px;
  padding: max(18px, env(safe-area-inset-top)) 24px 7px;
  justify-content: space-between;
}

#screen-services .nav-back-btn {
  width: 34px;
  height: 34px;
  border: 1px solid #e9e6e1;
  color: #282726;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 2px 8px rgba(40, 35, 28, .04);
  backdrop-filter: none;
}

#screen-services .nav-back-btn svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.theme-switch {
  position: relative;
  width: 60px;
  height: 34px;
  flex: 0 0 60px;
  padding: 3px;
  border: 1px solid #dfdbd4;
  border-radius: 999px;
  background: #ebe7e0;
  box-shadow: inset 0 1px 3px rgba(42, 34, 24, 0.08), 0 2px 8px rgba(42, 34, 24, 0.06);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.theme-switch-thumb {
  display: flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #b8872f;
  background: #ffffff;
  box-shadow: 0 2px 7px rgba(42, 34, 24, 0.18);
  transform: translateX(0);
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.theme-switch-thumb svg {
  width: 16px;
  height: 16px;
}

#theme-icon-dark {
  display: none;
}

.theme-switch:focus-visible {
  outline: 2px solid #c99b3f;
  outline-offset: 3px;
}

body.dark-mode .theme-switch {
  border-color: #3b3d3e;
  background: #202223;
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.35);
}

body.dark-mode .theme-switch-thumb {
  color: #f4d27c;
  background: #303334;
  transform: translateX(26px);
}

#screen-services .screen-body {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 4px 24px calc(28px + env(safe-area-inset-bottom));
}

#screen-services .title-block {
  margin-bottom: 20px;
}

#screen-services .screen-title {
  color: #171716;
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.35px;
}

#screen-services .screen-subtitle {
  margin-top: 6px;
  color: #77736f;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

#screen-services .screen-subtitle span {
  letter-spacing: 0;
  word-spacing: 1px;
}

.services-copy-dark,
.services-assurance-dark,
.services-assurance-chat {
  display: none;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card {
  width: 100%;
  min-height: 112px;
  padding: 7px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 22px;
  align-items: center;
  border: 1px solid #e7e3dd;
  border-radius: 18px;
  color: #171716;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 16px rgba(52, 42, 31, .035);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.service-card:active, .service-card:hover {
  transform: translateY(-1px);
  border-color: rgba(187, 139, 57, .45);
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(52, 42, 31, .075);
}

.service-img-wrapper {
  width: 96px;
  height: 96px;
  border-radius: 13px;
  background: #ece9e4;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.service-info {
  position: relative;
  align-self: stretch;
  min-width: 0;
  padding: 9px 8px 8px 12px;
}

.service-name {
  margin: 0;
  padding-right: 56px;
  overflow: hidden;
  color: #282624;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-desc {
  margin-top: 7px;
  padding-right: 4px;
  color: #716e69;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: -.05px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-duration {
  position: absolute;
  left: 12px;
  bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 3px;
  color: #74716c;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9.5px;
  line-height: 1;
  letter-spacing: 0;
}

.service-duration strong,
.service-duration small {
  font: inherit;
  letter-spacing: 0;
}

.service-price {
  position: absolute;
  top: 8px;
  right: 7px;
  color: #595652;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.service-arrow {
  width: 22px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa6a0;
  background: transparent;
}

.service-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6px;
}

.services-assurance {
  min-height: 62px;
  margin-top: 15px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e8e3dc;
  border-radius: 16px;
  color: #6f6a64;
  background: rgba(255,255,255,.66);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.services-assurance-icon {
  width: 33px;
  height: 33px;
  flex: 0 0 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ba8a35;
  background: #fffaf0;
}

.services-assurance-icon svg {
  width: 19px;
  height: 19px;
}

.services-assurance p {
  margin: 0;
  font-size: 9.5px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
}

body.dark-mode #screen-services {
  background: #0d0f10;
}

body.dark-mode #screen-services .nav-back-btn {
  border-color: transparent;
  color: #e5e5e4;
  background: transparent;
  box-shadow: none;
}

body.dark-mode #screen-services .screen-title {
  color: #f0efed;
}

body.dark-mode #screen-services .screen-subtitle {
  color: #8e8d8a;
}

body.dark-mode .services-copy-light,
body.dark-mode .services-assurance-light,
body.dark-mode .services-assurance-shield {
  display: none;
}

body.dark-mode .services-copy-dark,
body.dark-mode .services-assurance-dark,
body.dark-mode .services-assurance-chat {
  display: block;
}

body.dark-mode .service-card {
  grid-template-columns: 96px minmax(0, 1fr);
  border-color: #303233;
  border-radius: 13px;
  color: #efefed;
  background: linear-gradient(145deg, #191b1c, #141617);
  box-shadow: none;
}

body.dark-mode .service-card:hover,
body.dark-mode .service-card:active {
  border-color: rgba(199,151,62,.6);
  background: #1b1d1e;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}

body.dark-mode .service-img-wrapper {
  border-radius: 9px;
  background: #242627;
}

body.dark-mode .service-info {
  padding-right: 10px;
}

body.dark-mode .service-name {
  padding-right: 39px;
  color: #efefed;
}

body.dark-mode .service-desc {
  max-width: calc(100% - 42px);
  color: #a3a29f;
}

body.dark-mode .service-duration {
  top: 8px;
  right: 4px;
  bottom: auto;
  left: auto;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #cac8c3;
  font-size: 10px;
}

body.dark-mode .service-duration small {
  color: #8b8a87;
  font-size: 8px;
}

body.dark-mode .service-price {
  top: auto;
  right: 4px;
  bottom: 8px;
  color: #d2a24b;
  font-size: 13px;
  font-weight: 600;
}

body.dark-mode .service-arrow {
  display: none;
}

body.dark-mode .services-assurance {
  border-color: #2f3132;
  color: #b5b3af;
  background: #17191a;
}

body.dark-mode .services-assurance-icon {
  color: #d0a14a;
  background: rgba(205,156,65,.08);
}

body.dark-mode .services-assurance-dark strong,
body.dark-mode .services-assurance-dark span {
  display: block;
  letter-spacing: 0;
  word-spacing: 1px;
}

body.dark-mode .services-assurance-dark strong {
  margin-bottom: 2px;
  color: #dfdeda;
  font-size: 10px;
  font-weight: 500;
}

body.dark-mode .services-assurance-dark span {
  color: #878682;
  font-size: 9px;
}

/* Escala cómoda para navegadores de escritorio al 100% de zoom. */
@media (min-width: 420px) {
  #screen-services .screen-body {
    max-width: 620px;
    padding-left: 24px;
    padding-right: 24px;
  }

  #screen-services .title-block {
    margin-bottom: 27px;
  }

  #screen-services .screen-title {
    font-size: 24px;
  }

  #screen-services .screen-subtitle {
    font-size: 13px;
  }

  .services-list {
    gap: 14px;
  }

  .service-card {
    min-height: 142px;
    padding: 9px;
    grid-template-columns: 120px minmax(0, 1fr) 25px;
    border-radius: 21px;
  }

  .service-img-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 16px;
  }

  .service-info {
    padding: 12px 11px 11px 16px;
  }

  .service-name {
    padding-right: 68px;
    font-size: 15.5px;
  }

  .service-desc {
    margin-top: 9px;
    font-size: 12px;
    line-height: 1.45;
  }

  .service-duration {
    left: 16px;
    bottom: 11px;
    font-size: 11px;
  }

  .service-price {
    top: 11px;
    right: 9px;
    font-size: 14px;
  }

  .service-arrow {
    width: 25px;
  }

  .services-assurance {
    min-height: 78px;
    margin-top: 19px;
    padding: 14px 18px;
  }

  .services-assurance-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .services-assurance p {
    font-size: 11px;
  }

  body.dark-mode .service-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  body.dark-mode .service-name {
    padding-right: 44px;
  }

  body.dark-mode .service-duration {
    top: 11px;
    right: 6px;
    bottom: auto;
    left: auto;
    font-size: 11.5px;
  }

  body.dark-mode .service-price {
    top: auto;
    right: 6px;
    bottom: 11px;
    font-size: 14.5px;
  }

  body.dark-mode .services-assurance-dark strong {
    font-size: 11.5px;
  }

  body.dark-mode .services-assurance-dark span {
    font-size: 10.5px;
  }
}

/* --------------------------------------------------------------------------
   SCREEN 3: ELIGE TU BARBERO
   -------------------------------------------------------------------------- */
#screen-barbers {
  background-color: #FFFFFF;
}

#screen-barbers .screen-body {
  padding-bottom: 110px;
}

#screen-barbers .screen-header {
  justify-content: space-between;
}

.favorites-filter-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #777777;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.favorites-filter-btn svg {
  width: 22px;
  height: 22px;
}

.favorites-filter-btn.active {
  color: #d8a62f;
  border-color: #d8a62f;
  background: #fff8e8;
}

.favorites-filter-btn.active svg {
  fill: currentColor;
}

#favorites-count {
  position: absolute;
  top: -4px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #c99527;
  border: 2px solid #ffffff;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
}

#favorites-count.is-empty {
  display: none;
}

.first-available-card {
  background: #111111;
  color: #ffffff;
  border-radius: 24px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.first-available-card:active {
  transform: scale(0.98);
}

.first-avail-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #d4af37;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.first-avail-icon svg {
  width: 22px;
  height: 22px;
}

.first-avail-info h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #d4af37;
  text-transform: uppercase;
}

.first-avail-info p {
  font-size: 12px;
  color: #a0a0a0;
  margin-top: 2px;
}

.first-avail-badge {
  margin-left: auto;
  color: #d4af37;
  width: 20px;
  height: 20px;
}

.or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 16px 0 24px;
  color: #666666;
  font-size: 13px;
}

.or-divider::before, .or-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #aaaaaa;
}

.or-divider span {
  padding: 0 14px;
}

/* Barber Grid (2 columns matching mockups) */
.barbers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 14px;
  padding-bottom: 40px;
}

.barber-card {
  background: transparent;
  border-radius: 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.barber-card:active {
  transform: scale(0.97);
}

.barber-photo-container {
  position: relative;
  width: 100%;
  height: 190px;
  border-radius: 36px 36px 20px 20px;
  overflow: visible;
  background: #c2c2c2;
}

.barber-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px 36px 20px 20px;
}

.barber-card-heart {
  position: absolute;
  z-index: 22;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  padding: 9px;
  color: #ffffff;
  background: rgba(12, 13, 13, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.barber-card-heart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.barber-card-heart.active {
  color: #e0b34b;
  background: rgba(23, 19, 10, 0.78);
  border-color: rgba(224, 179, 75, 0.85);
}

.barber-card-heart.active svg {
  fill: currentColor;
}

.favorites-empty-state {
  grid-column: 1 / -1;
  min-height: 220px;
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #777777;
  border: 1px dashed #d7d7d7;
  border-radius: 24px;
  background: #fafafa;
}

.favorites-empty-state svg {
  width: 38px;
  height: 38px;
  margin-bottom: 13px;
  color: #c99b3f;
}

.favorites-empty-state strong {
  color: #222222;
  font-size: 15px;
}

.favorites-empty-state span {
  max-width: 230px;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
}

/* Rating Badge matching user screenshot */
.barber-rating-badge {
  position: absolute;
  bottom: 16px;
  left: 10px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rating-box {
  background: #ffb800;
  color: #ffffff;
  border-radius: 8px;
  padding: 3px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
  min-width: 32px;
}

.rating-num {
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.05em;
}

.rating-lbl {
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 1px;
}

.rating-stars {
  color: #ffb800;
  font-size: 14px;
  letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.barber-card-footer {
  position: relative;
  z-index: 10;
  background: #d9d9d9;
  padding: 20px 24px;
  border-radius: 40px;
  margin-top: -30px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.barber-card-name {
  font-size: 16px;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.barber-card-sub {
  font-size: 13px;
  color: #555555;
  margin-top: 2px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

/* --------------------------------------------------------------------------
   SCREEN 4: AGENDAMIENTO / BARBER DETAIL & CALENDAR
   -------------------------------------------------------------------------- */
#screen-schedule {
  background: #ffffff;
}

.barber-detail-hero {
  height: 320px;
  width: 100%;
  position: relative;
  background-color: #333333;
}

.barber-detail-hero .favorite-btn {
  position: absolute;
  top: 22px;
  right: 20px;
  z-index: 5;
}

.detail-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.barber-detail-sheet {
  position: relative;
  margin-top: -36px;
  background: #ffffff;
  border-radius: var(--radius-sheet) var(--radius-sheet) 0 0;
  padding: 24px 20px 40px;
  z-index: 10;
  min-height: 500px;
}

.barber-main-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.barber-main-info {
  /* text is fine here */
}

.favorite-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  padding: 10px;
  color: #ffffff;
  transition: all 0.2s ease;
}

.favorite-btn .heart-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.favorite-btn.active {
  color: #e74c3c;
}
.favorite-btn.active svg {
  fill: currentColor;
}

.barber-main-info h2 {
  font-size: 26px;
  font-weight: 800;
  color: #111111;
}

.barber-rating-line {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #555;
  margin-top: 4px;
  font-weight: 500;
}

.barber-rating-line .star-icon {
  color: #ffb800;
}

.rating-divider {
  width: 1px;
  height: 28px;
  margin: 0 3px;
  background: #e5e5e5;
  flex: 0 0 auto;
}

.barber-specialty {
  max-width: 245px;
  color: #777777;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.04em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.app-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.tab-btn {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-pill);
  border: 1px solid #d0d0d0;
  background: #ffffff;
  color: #777777;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: #fffaf0;
  border-color: #c99b3f;
  color: #a8751d;
  font-weight: 700;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.month-picker-label {
  font-size: 16px;
  font-weight: 600;
  color: #222222;
  margin-bottom: 14px;
}

/* Dates Horizontal Carousel */
.dates-carousel {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin-bottom: 24px;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.dates-carousel::-webkit-scrollbar {
  display: none;
}

.date-pill {
  min-width: 54px;
  height: 80px;
  border-radius: 28px;
  background: #e8e8e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.date-pill .day-name {
  font-size: 13px;
  color: #444444;
  margin-bottom: 6px;
}

.date-pill .day-num-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #111111;
}

.date-pill.selected {
  background: #f7f1e6;
}

.date-pill.selected .day-num-circle {
  background: #c99b3f;
  color: #ffffff;
  box-shadow: 0 3px 9px rgba(201, 155, 63, 0.3);
}

.time-slots-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: #222222;
  margin-bottom: 14px;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.time-pill {
  padding: 10px 4px;
  border-radius: 16px;
  border: 1px solid #e0e0e0;
  background: #ffffff;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  transition: all 0.2s ease;
}

.time-pill.selected {
  background: #fffaf0;
  border-color: #c99b3f;
  color: #a8751d;
  font-weight: 700;
  box-shadow: 0 2px 7px rgba(201, 155, 63, 0.18);
}

.availability-status {
  margin: 8px 0 10px;
  padding: 10px 12px;
  color: #8b641e;
  border: 1px solid rgba(201, 155, 63, 0.38);
  border-radius: 12px;
  background: #fff8e9;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0;
}

.availability-status[hidden] {
  display: none;
}

/* Sticky Bottom Booking Bar - always visible */
.booking-footer-bar {
  position: sticky;
  bottom: 0;
  width: calc(100% - 28px);
  margin: 0 14px;
  background: #fffaf1;
  border: 1px solid #e1c98f;
  border-radius: 24px;
  padding: 15px 14px 14px;
  box-shadow: 0 10px 32px rgba(125, 89, 25, 0.2);
  z-index: 30;
}

.selection-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.summary-icon {
  width: 20px;
  height: 20px;
  color: #d4af37;
  flex: 0 0 auto;
}

.summary-texts {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  color: #4a4a4a;
  letter-spacing: -0.04em;
}

.summary-time-group {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  white-space: nowrap;
}

.summary-clock-icon {
  width: 16px;
  height: 16px;
  color: #8b8b8b;
  flex: 0 0 auto;
}

.confirm-appointment-btn {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-pill);
  background: linear-gradient(110deg, #c89a40 0%, #dfb65d 54%, #c99739 100%);
  border: none;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(188, 137, 38, 0.24);
  transition: transform 0.2s ease;
}

.confirm-appointment-btn:active {
  transform: scale(0.98);
}

/* Tab 2 & Tab 3 Styles */
.about-card {
  background: #f5f5f5;
  border-radius: 20px;
  padding: 20px;
}

.about-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.about-card p {
  font-size: 13px;
  color: #555555;
  line-height: 1.5;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.spec-item {
  background: #ffffff;
  padding: 12px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
}

.spec-title {
  font-size: 11px;
  color: #888;
}

.spec-value {
  font-size: 13px;
  font-weight: 700;
  color: #111;
  margin-top: 2px;
}

.reviews-summary-card {
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.reviews-summary-card .stars-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.leave-review-btn {
  margin-top: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: #111111;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s;
}
.leave-review-btn:active {
  transform: scale(0.95);
}

.big-score {
  font-size: 36px;
  font-weight: 800;
  color: #111;
}

.stars-row {
  color: #ffb800;
  font-size: 18px;
}

.stars-column p {
  font-size: 12px;
  color: #666;
}

.review-item {
  background: #f9f9f9;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
  border: 1px solid #eeeeee;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.reviewer-name {
  font-size: 13px;
  font-weight: 700;
}

.review-stars {
  color: #ffb800;
  font-size: 12px;
}

.review-comment {
  font-size: 12px;
  color: #555;
  line-height: 1.4;
}

.reviews-state-message,
.reviews-empty-state {
  padding: 28px 20px;
  color: #777777;
  text-align: center;
  border: 1px dashed #dddddd;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}

.reviews-empty-state {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reviews-empty-state strong {
  color: #222222;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   SCREEN 5: MÉTODO DE PAGO
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   SCREEN 4: TUS DATOS
   -------------------------------------------------------------------------- */
.client-data-screen {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
  background: #ffffff;
  color: #111111;
}

.client-data-screen * {
  letter-spacing: -0.025em;
}

.client-data-topbar {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.client-data-back {
  width: 42px;
  height: 42px;
  padding: 11px;
  color: #7a7a7a;
  background: #ffffff;
  border: 1px solid #e7e7e7;
  box-shadow: 0 2px 8px rgba(24, 24, 24, 0.04);
}

.client-data-back svg {
  width: 100%;
  height: 100%;
}

.client-data-header {
  margin-top: 24px;
}

.client-data-header h1 {
  margin: 0 0 6px;
  color: #111111;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.client-data-header p {
  color: #777777;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.client-data-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 48px;
}

.client-field {
  position: relative;
}

.client-field > label {
  display: block;
  margin: 0 0 8px;
  color: #333333;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.client-field input[type="tel"],
.client-field input[type="text"],
.client-notes-card textarea,
.client-reference-row {
  width: 100%;
  border: 1px solid #e3e3e3;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 2px 7px rgba(20, 20, 20, 0.025);
}

.client-field input[type="tel"],
.client-field input[type="text"] {
  height: 50px;
  padding: 0 18px;
  color: #222222;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  user-select: text;
}

.client-field input::placeholder,
.client-notes-card textarea::placeholder {
  color: #b7b7b7;
  opacity: 1;
}

.client-field input:focus,
.client-notes-card textarea:focus,
.client-reference-row:focus-within {
  border-color: #c99b3f;
  box-shadow: 0 0 0 3px rgba(201, 155, 63, 0.1);
}

.client-welcome-msg {
  position: absolute;
  top: 100%;
  left: 16px;
  margin-top: 4px;
  color: #3c9959;
  font-size: 11px;
  font-weight: 600;
}

.client-reference-row {
  display: flex;
  align-items: stretch;
  height: 50px;
  overflow: hidden;
}

.client-reference-picker {
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 0;
  padding-left: 18px;
  cursor: pointer;
}

.client-reference-picker span {
  overflow: hidden;
  color: #b7b7b7;
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-reference-picker > svg {
  display: none;
}

.client-reference-upload {
  position: relative;
  display: flex;
  width: 52px;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #858585;
  cursor: pointer;
}

.client-reference-upload img {
  border-radius: 0 23px 23px 0;
}

.client-notes-card > label svg,
.client-notes-card > p {
  display: none;
}

.client-notes-card textarea {
  display: block;
  height: 164px;
  padding: 17px 18px;
  color: #222222;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.45;
  outline: none;
  resize: none;
  user-select: text;
}

.client-data-actions {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 20px;
  margin-top: auto;
  padding-top: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 25%);
}

.client-data-actions button {
  height: 60px;
  border-radius: 30px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.client-data-actions .client-back-action {
  color: #666666;
  background: #ffffff;
  border: 1px solid #e1e1e1;
  box-shadow: 0 2px 8px rgba(20, 20, 20, 0.025);
}

.client-data-actions .client-continue-action {
  color: #ffffff;
  background: linear-gradient(110deg, #c99b3f 0%, #dbae52 100%);
  border: 1px solid #c99b3f;
  box-shadow: 0 6px 15px rgba(188, 137, 38, 0.2);
}

#screen-payment {
  background: #fbfaf8;
  display: flex;
  flex-direction: column;
}

.payment-hero-bg {
  flex: 1 1 auto;
  min-height: 240px;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.85) 100%), url('../assets/img/BARBA.webp') center/cover;
  padding: 24px 24px 64px 24px;
  color: #ffffff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.payment-header-text h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-transform: uppercase;
}

.payment-header-text p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 6px;
}

.payment-sheet {
  flex: 0 0 auto;
  padding: 0 24px 40px;
  background-color: #fbfaf8;
  border-radius: 0;
  margin-top: 0;
  position: relative;
  z-index: 10;
}

.appointment-summary-card {
  position: relative;
  z-index: 2;
  padding: 24px;
  margin-top: -44px;
  margin-bottom: 24px;
  background: #ffffff;
  border: 1px solid #e6e0d8;
  border-radius: 34px;
  box-shadow: 0 5px 16px rgba(83, 64, 34, 0.06);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
  color: #333333;
}

.summary-row.total-row {
  margin-top: 16px;
  margin-bottom: 0;
  padding-top: 16px;
  border-top: 1px solid #e7e2dc;
  font-weight: 800;
  font-size: 16px;
}

.row-val.price-highlight {
  font-size: 18px;
  color: #c59d56;
}

.gift-card-box {
  background: #ffffff;
  border: 1px solid #e6e0d8;
  border-radius: 32px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 14px rgba(83, 64, 34, 0.05);
}

.gift-card-box label {
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  display: block;
  margin-bottom: 8px;
}

.gift-card-input-group {
  display: flex;
  gap: 10px;
}

.gift-card-input-group input {
  flex: 1;
  border-radius: var(--radius-pill);
  border: none;
  background: #f5f3f0;
  padding: 12px 18px;
  font-size: 13px;
  outline: none;
}

.apply-gift-btn {
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  border: none;
  background: linear-gradient(110deg, #c59d56 0%, #d7b46e 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.pay-method-card {
  background: #ffffff;
  border-radius: 30px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  border: 1.5px solid #e6e0d8;
  box-shadow: 0 4px 14px rgba(83, 64, 34, 0.045);
  transition: all 0.2s ease;
}

.pay-method-card.active {
  border-color: #c59d56;
  box-shadow: 0 5px 16px rgba(197, 157, 86, 0.14);
}

.pay-icon {
  width: 40px;
  height: 40px;
  color: #c59d56;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-icon svg {
  width: 28px;
  height: 28px;
}

.pay-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: #111111;
}

.pay-info p {
  font-size: 12px;
  color: #777777;
}

/* Comprobante de transferencia */
.receipt-upload-action,
.receipt-ready-action {
  width: 100%;
  min-height: 68px;
  margin-top: 10px;
  border: 1.5px dashed #d5cec4;
  border-radius: 30px;
  background: #ffffff;
  color: #111111;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.receipt-upload-action:active,
.receipt-ready-action:active {
  transform: scale(0.985);
}

.receipt-upload-action input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.receipt-upload-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 18px;
  background: #f5f2ed;
  color: #b78c42;
  display: flex;
  align-items: center;
  justify-content: center;
}

.receipt-upload-icon svg {
  width: 24px;
  height: 24px;
}

.receipt-upload-copy,
.receipt-ready-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.receipt-upload-copy strong,
.receipt-ready-copy strong {
  font-size: 14px;
  line-height: 1.2;
}

.receipt-upload-copy small,
.receipt-ready-copy small {
  color: #777777;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 245px;
}

.receipt-ready-action {
  min-height: 58px;
  border-style: solid;
  border-color: #8cb99b;
  background: #f5fff8;
}

.receipt-ready-thumb {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  overflow: hidden;
  background: #dddddd;
}

.receipt-ready-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.receipt-ready-copy {
  flex: 1;
}

.receipt-ready-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2f8f53;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.receipt-upload-action[hidden],
.receipt-ready-action[hidden],
.payment-swipe-container[hidden] {
  display: none !important;
}

/* Slide to Pay */
.payment-swipe-container {
  margin-top: 10px;
  background: #f1ede7;
  border-radius: var(--radius-pill);
  height: 68px;
}

.payment-swipe-container.is-processing {
  opacity: 0.65;
  pointer-events: none;
}

.payment-swipe-container .swipe-track-text {
  justify-content: center;
  padding-left: 160px;
  padding-right: 15px;
}

.swipe-knob.pay-knob {
  width: 150px;
  height: 58px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  padding: 4px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.knob-pay-icon svg {
  width: 24px;
  height: 24px;
  color: #111;
}

.knob-pay-text {
  display: flex;
  flex-direction: column;
}

.knob-pay-text .label {
  font-size: 9px;
  color: #777;
  font-weight: 700;
}

.knob-pay-text .amount {
  font-size: 14px;
  font-weight: 800;
  color: #111;
}

/* --------------------------------------------------------------------------
   CONFIRMACIÓN DE CITA
   -------------------------------------------------------------------------- */
.confirmation-screen {
  color: #f7f4ee;
  background:
    linear-gradient(180deg, rgba(5, 6, 6, 0.76) 0%, rgba(8, 9, 9, 0.9) 24%, #0a0b0b 61%, #080909 100%),
    url('../assets/img/hero-premium.webp') center top / auto 520px no-repeat,
    #080909;
}

.confirmation-screen::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 17%, rgba(209, 164, 76, 0.09), transparent 22%),
    radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.025), transparent 46%);
}

.confirmation-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 500px);
  min-height: 100%;
  margin: 0 auto;
  padding: max(34px, env(safe-area-inset-top)) 20px max(28px, env(safe-area-inset-bottom));
  letter-spacing: 0;
}

.confirmation-content * {
  letter-spacing: 0;
}

.confirmation-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 23px;
  line-height: 1;
}

.confirmation-brand img {
  display: block;
  width: min(205px, 52vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(209, 164, 76, 0.18));
}

.confirmation-check {
  position: relative;
  display: grid;
  width: 104px;
  height: 104px;
  margin: 0 auto 22px;
  place-items: center;
  color: #f9e6b1;
  border: 1px solid rgba(218, 174, 91, 0.8);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(210, 164, 78, 0.28) 0%, rgba(158, 116, 42, 0.11) 55%, transparent 72%);
  box-shadow: 0 0 25px rgba(214, 170, 84, 0.3), inset 0 0 22px rgba(214, 170, 84, 0.13);
}

.confirmation-check::before,
.confirmation-check::after,
.confirmation-check span {
  content: '';
  position: absolute;
  border: 1px solid rgba(211, 166, 78, 0.25);
  border-radius: 50%;
}

.confirmation-check::before {
  inset: -15px;
}

.confirmation-check::after {
  inset: -30px;
  border-color: rgba(211, 166, 78, 0.13);
}

.confirmation-check span {
  inset: 10px;
  border-color: rgba(248, 218, 158, 0.55);
}

.confirmation-check svg {
  position: relative;
  z-index: 1;
  width: 55px;
  height: 55px;
  filter: drop-shadow(0 0 7px rgba(255, 224, 160, 0.55));
}

.confirmation-heading {
  margin-bottom: 25px;
  text-align: center;
}

.confirmation-heading h1 {
  color: #fff;
  font-size: clamp(32px, 8vw, 44px);
  font-weight: 600;
  line-height: 1.05;
}

.confirmation-heading p {
  margin-top: 9px;
  color: #aaa8a5;
  font-size: 16px;
  line-height: 1.45;
}

.confirmation-content.is-animating .confirmation-brand {
  animation: confirmation-brand-in 0.55s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.confirmation-content.is-animating .confirmation-brand img {
  animation: confirmation-brand-glow 1.8s 0.45s ease-in-out infinite alternate;
}

.confirmation-content.is-animating .confirmation-check {
  animation: confirmation-check-in 0.58s 0.2s cubic-bezier(0.2, 1.25, 0.4, 1) both;
}

.confirmation-content.is-animating .confirmation-check::before {
  animation: confirmation-ring-pulse 1.7s 0.75s ease-out infinite;
}

.confirmation-content.is-animating .confirmation-check::after {
  animation: confirmation-ring-pulse 1.7s 1.05s ease-out infinite;
}

.confirmation-content.is-animating .confirmation-check svg path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: confirmation-check-draw 0.5s 0.58s ease-out forwards;
}

.confirmation-content.is-animating .confirmation-heading h1 {
  animation: confirmation-copy-in 0.5s 0.48s ease-out both;
}

.confirmation-content.is-animating .confirmation-heading p {
  animation: confirmation-copy-in 0.5s 0.62s ease-out both;
}

@keyframes confirmation-brand-in {
  from { opacity: 0; transform: translateY(-18px) scale(0.94); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes confirmation-brand-glow {
  from { filter: drop-shadow(0 0 10px rgba(209, 164, 76, 0.14)); }
  to { filter: drop-shadow(0 0 20px rgba(232, 189, 103, 0.42)); }
}

@keyframes confirmation-check-in {
  from { opacity: 0; transform: scale(0.5) rotate(-8deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes confirmation-ring-pulse {
  0% { opacity: 0.8; transform: scale(0.82); }
  75%, 100% { opacity: 0; transform: scale(1.28); }
}

@keyframes confirmation-check-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes confirmation-copy-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .confirmation-content.is-animating .confirmation-brand,
  .confirmation-content.is-animating .confirmation-brand-mark,
  .confirmation-content.is-animating .confirmation-check,
  .confirmation-content.is-animating .confirmation-check::before,
  .confirmation-content.is-animating .confirmation-check::after,
  .confirmation-content.is-animating .confirmation-check svg path,
  .confirmation-content.is-animating .confirmation-heading h1,
  .confirmation-content.is-animating .confirmation-heading p {
    animation: none;
  }
}

.confirmation-countdown {
  display: flex;
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 28px 26px 25px;
  flex-direction: column;
  align-items: center;
  color: #f5f2ec;
  border: 1px solid rgba(218, 174, 91, 0.32);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(35, 36, 36, 0.92), rgba(17, 18, 18, 0.94));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.04);
  text-align: center;
  backdrop-filter: blur(13px);
}

.confirmation-whatsapp-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  color: #dfb25f;
  filter: drop-shadow(0 0 10px rgba(218, 174, 91, 0.25));
}

.confirmation-countdown p {
  color: #cbc8c1;
  font-size: 16px;
  line-height: 1.3;
}

.confirmation-countdown strong {
  margin-top: 3px;
  color: #e4b75f;
  font-size: 68px;
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 0 22px rgba(218, 174, 91, 0.28);
}

.confirmation-countdown > span {
  margin-top: 2px;
  color: #aaa8a5;
  font-size: 13px;
}

.confirmation-countdown-track {
  width: 100%;
  height: 4px;
  margin: 21px 0 17px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.confirmation-countdown-track span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #bd8730, #f0cf82);
  transform-origin: left center;
}

.confirmation-countdown-track span.is-running {
  animation: confirmation-countdown-progress 3s linear forwards;
}

.confirmation-countdown small {
  color: #8f8d88;
  font-size: 12px;
  line-height: 1.4;
}

@keyframes confirmation-countdown-progress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

.confirmation-summary-card,
.confirmation-install-card {
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(36, 37, 37, 0.92), rgba(18, 19, 19, 0.93));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(13px);
}

.confirmation-summary-card {
  padding: 10px 20px 12px;
}

.confirmation-row {
  display: grid;
  grid-template-columns: 46px minmax(86px, 0.7fr) minmax(0, 1.5fr);
  min-height: 61px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.confirmation-row-icon,
.confirmation-phone-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #e5e1da;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(60, 61, 61, 0.7), rgba(22, 23, 23, 0.75));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.confirmation-row-icon svg,
.confirmation-phone-icon svg {
  width: 22px;
  height: 22px;
}

.confirmation-label {
  color: #aaa8a5;
  font-size: 15px;
}

.confirmation-row strong {
  min-width: 0;
  color: #f6f4ef;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  text-align: right;
  overflow-wrap: anywhere;
}

.confirmation-total-row {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #e1b35e;
  font-size: 17px;
}

.confirmation-total-row strong {
  color: #ddb15d;
  font-size: 27px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.confirmation-meta-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 60px;
  align-items: center;
  gap: 15px;
  padding-top: 8px;
  color: #aaa8a5;
  font-size: 13px;
}

.confirmation-reservation {
  white-space: nowrap;
}

.confirmation-whatsapp-link {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  padding-left: 15px;
  color: #aaa8a5;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
  text-decoration: none;
}

.confirmation-whatsapp-link svg {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  color: #f4f2ed;
}

.confirmation-install-card {
  margin-top: 14px;
  padding: 18px 20px 19px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.confirmation-install-card.is-highlighted {
  animation: confirmation-card-highlight 1.5s ease;
}

@keyframes confirmation-card-highlight {
  0%, 100% { border-color: rgba(255, 255, 255, 0.19); box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28); }
  45% { border-color: rgba(224, 180, 94, 0.9); box-shadow: 0 0 28px rgba(224, 180, 94, 0.24); }
}

.confirmation-install-title {
  display: flex;
  align-items: center;
  gap: 15px;
}

.confirmation-phone-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  color: #e2b35e;
  border-radius: 14px;
}

.confirmation-install-title h2 {
  color: #fff;
  font-size: 17px;
  font-weight: 500;
}

.confirmation-install-title p {
  margin-top: 4px;
  color: #aaa8a5;
  font-size: 13px;
  line-height: 1.35;
}

.confirmation-platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 17px;
}

.confirmation-platforms > div + div {
  padding-left: 17px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.confirmation-platforms h3 {
  margin-bottom: 8px;
  color: #e7e4de;
  font-size: 14px;
  font-weight: 500;
}

.confirmation-platforms ol {
  padding-left: 19px;
  color: #aaa8a5;
  font-size: 12px;
  line-height: 1.45;
}

.confirmation-platforms li::marker {
  color: #dcb05d;
}

.confirmation-install-btn,
.confirmation-home-btn,
.confirmation-appointments-btn {
  width: 100%;
  font-family: inherit;
  cursor: pointer;
}

.confirmation-install-btn {
  display: flex;
  height: 61px;
  margin-top: 14px;
  align-items: center;
  justify-content: center;
  gap: 17px;
  color: #16130e;
  border: 1px solid #efd28f;
  border-radius: 32px;
  background: linear-gradient(105deg, #dca84d 0%, #f3d68f 52%, #d7a54c 100%);
  box-shadow: 0 10px 24px rgba(209, 160, 73, 0.18), inset 0 1px rgba(255, 255, 255, 0.45);
  font-size: 18px;
}

.confirmation-install-btn svg {
  width: 24px;
  height: 24px;
}

.confirmation-home-btn {
  height: 55px;
  margin-top: 10px;
  color: #e8e5df;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 29px;
  background: rgba(18, 19, 19, 0.82);
  font-size: 17px;
}

.confirmation-appointments-btn {
  display: flex;
  margin-top: 15px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #989793;
  border: 0;
  background: transparent;
  font-size: 15px;
}

.confirmation-appointments-btn svg {
  width: 21px;
  height: 21px;
}

@media (max-width: 380px) {
  .confirmation-content {
    padding-right: 14px;
    padding-left: 14px;
  }

  .confirmation-row {
    grid-template-columns: 42px 77px minmax(0, 1fr);
  }

  .confirmation-label,
  .confirmation-row strong {
    font-size: 13px;
  }

  .confirmation-total-row strong {
    font-size: 23px;
  }

  .confirmation-meta-row {
    gap: 8px;
    font-size: 11px;
  }

  .confirmation-whatsapp-link {
    padding-left: 9px;
  }

  .confirmation-platforms {
    gap: 10px;
  }

  .confirmation-platforms > div + div {
    padding-left: 11px;
  }

  .confirmation-platforms ol {
    font-size: 11px;
  }
}

/* --------------------------------------------------------------------------
   MODALES
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 90%;
  max-width: 360px;
  background: #ffffff;
  border-radius: 32px;
  padding: 30px 24px;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-check-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #d4af37;
  color: #111111;
  font-size: 30px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.modal-card h2 {
  font-size: 22px;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
}

.modal-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
  margin-bottom: 20px;
}

.modal-details {
  background: #f5f5f5;
  border-radius: 16px;
  padding: 14px;
  font-size: 13px;
  text-align: left;
  margin-bottom: 20px;
}

.modal-close-btn {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-pill);
  border: none;
  background: #111111;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   SIDEBAR NAVIGATION
   -------------------------------------------------------------------------- */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100vh;
  background: #111111;
  z-index: 101;
  display: flex;
  flex-direction: column;
  transition: left 0.3s ease;
  padding: 30px 20px;
  box-shadow: 4px 0 20px rgba(0,0,0,0.5);
}

.sidebar.active {
  left: 0;
}

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

.sidebar-logo {
  height: 36px;
  object-fit: contain;
}

.sidebar-close-btn {
  background: none;
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.sidebar-footer {
  margin-top: auto;
  color: #777777;
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   REVIEW MODAL
   -------------------------------------------------------------------------- */
.review-stars-input {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 16px 0;
  font-size: 36px;
  color: #cccccc;
  cursor: pointer;
}

.review-stars-input span {
  transition: color 0.2s ease;
}

.review-stars-input span.active {
  color: #d4af37;
}

#review-name,
#review-text {
  width: 100%;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid #dddddd;
  resize: none;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  user-select: text;
}

#review-name {
  margin-bottom: 10px;
}

#review-text {
  margin-bottom: 20px;
}

#review-name:focus,
#review-text:focus {
  border-color: #111111;
}

.review-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.secondary-btn {
  background: #e0e0e0;
  color: #333333;
}
.primary-btn {
  background: #111111;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   LOADING SKELETON
   -------------------------------------------------------------------------- */
.loading-skeleton {
  height: 80px;
  border-radius: var(--radius-card);
  background: linear-gradient(90deg, #d0d0d0 25%, #e8e8e8 50%, #d0d0d0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  margin-bottom: 16px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --------------------------------------------------------------------------
   DISABLED STATES FOR DATES & TIMES
   -------------------------------------------------------------------------- */
.disabled-date {
  opacity: 0.35;
  pointer-events: none;
  filter: grayscale(100%);
  cursor: not-allowed;
  position: relative;
}
.disabled-date::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 8%;
  width: 84%;
  height: 2px;
  background: var(--text-secondary, #888);
  border-radius: 2px;
  transform: translateY(-50%);
}


.disabled-time {
  opacity: 0.4;
  pointer-events: none;
  background-color: #ddd;
  color: #888;
  text-decoration: line-through;
}

/* --------------------------------------------------------------------------
   GLOBAL DARK THEME — ALL BOOKING STEPS
   -------------------------------------------------------------------------- */
body.dark-mode,
body.dark-mode .app-container {
  background: #0d0f10;
}

/* Elige tu barbero */
body.dark-mode #screen-barbers {
  background: #0d0f10;
}

body.dark-mode #screen-barbers .nav-back-btn {
  color: #ecebe8;
  background: #1b1d1e;
  border-color: #343637;
}

body.dark-mode #screen-barbers .favorites-filter-btn {
  color: #aaa9a5;
  background: #1b1d1e;
  border-color: #343637;
  box-shadow: none;
}

body.dark-mode #screen-barbers .favorites-filter-btn.active {
  color: #e0b861;
  background: #292317;
  border-color: #c99b3f;
}

body.dark-mode #screen-barbers #favorites-count {
  border-color: #0d0f10;
}

body.dark-mode #screen-barbers .screen-title,
body.dark-mode #screen-barbers .barber-card-name {
  color: #f2f1ee;
}

body.dark-mode #screen-barbers .screen-subtitle,
body.dark-mode #screen-barbers .barber-card-sub,
body.dark-mode #screen-barbers .or-divider {
  color: #989793;
}

body.dark-mode #screen-barbers .or-divider::before,
body.dark-mode #screen-barbers .or-divider::after {
  border-color: #343637;
}

body.dark-mode #screen-barbers .barber-photo-container {
  background: #232526;
}

body.dark-mode #screen-barbers .barber-card-footer {
  background: #1a1c1d;
  border: 1px solid #303233;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

body.dark-mode #screen-barbers .favorites-empty-state {
  color: #999894;
  background: #17191a;
  border-color: #3a3c3d;
}

body.dark-mode #screen-barbers .favorites-empty-state strong {
  color: #f2f1ee;
}

/* Perfil, agenda, calendario y resumen */
body.dark-mode #screen-schedule,
body.dark-mode #screen-schedule .barber-detail-sheet {
  background: #0f1112;
}

body.dark-mode #screen-schedule .barber-main-info h2,
body.dark-mode #screen-schedule .month-picker-label,
body.dark-mode #screen-schedule .time-slots-section h4,
body.dark-mode #screen-schedule .about-card h3,
body.dark-mode #screen-schedule .reviewer-name,
body.dark-mode #screen-schedule .big-score {
  color: #f2f1ee;
}

body.dark-mode #screen-schedule .barber-rating-line,
body.dark-mode #screen-schedule .barber-specialty,
body.dark-mode #screen-schedule .about-card p,
body.dark-mode #screen-schedule .review-comment,
body.dark-mode #screen-schedule .stars-column p {
  color: #999894;
}

body.dark-mode #screen-schedule .rating-divider {
  background: #343637;
}

body.dark-mode #screen-schedule .tab-btn {
  color: #9d9c98;
  background: #17191a;
  border-color: #343637;
}

body.dark-mode #screen-schedule .tab-btn.active {
  color: #d8ad59;
  background: #272116;
  border-color: #c99b3f;
}

body.dark-mode #screen-schedule .date-pill {
  background: #1b1d1e;
}

body.dark-mode #screen-schedule .date-pill .day-name {
  color: #aaa9a5;
}

body.dark-mode #screen-schedule .date-pill .day-num-circle {
  color: #ecebe8;
  background: #292b2c;
}

body.dark-mode #screen-schedule .date-pill.selected {
  background: #292317;
}

body.dark-mode #screen-schedule .date-pill.selected .day-num-circle {
  color: #ffffff;
  background: #c99b3f;
}

body.dark-mode #screen-schedule .time-pill {
  color: #d2d1cd;
  background: #17191a;
  border-color: #343637;
}

body.dark-mode #screen-schedule .time-pill.selected {
  color: #e0b861;
  background: #292317;
  border-color: #c99b3f;
}

body.dark-mode #screen-schedule .availability-status {
  color: #e0b861;
  border-color: rgba(201, 155, 63, 0.45);
  background: #292317;
}

body.dark-mode #screen-schedule .disabled-time {
  color: #777773;
  background: #202223;
}

body.dark-mode #screen-schedule .booking-footer-bar {
  background: #181a1b;
  border-color: #3b3325;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.34);
}

body.dark-mode #screen-schedule .summary-texts {
  color: #d5d4d0;
}

body.dark-mode #screen-schedule .summary-clock-icon {
  color: #aaa9a5;
}

body.dark-mode #screen-schedule .about-card,
body.dark-mode #screen-schedule .reviews-summary-card,
body.dark-mode #screen-schedule .review-item,
body.dark-mode #screen-schedule .spec-item {
  color: #ecebe8;
  background: #191b1c;
  border-color: #303233;
}

/* Contraste de la sección "Sobre Mi" */
#screen-schedule .barber-detail-sheet {
  min-height: calc(100vh - 284px);
  min-height: calc(100dvh - 284px);
}

#screen-schedule .spec-item {
  min-height: 72px;
  justify-content: center;
  border: 1px solid #e5ded1;
  box-shadow: 0 5px 14px rgba(40, 30, 12, 0.06);
}

#screen-schedule .spec-title {
  color: #756b5c;
  font-size: 12px;
  font-weight: 600;
}

#screen-schedule .spec-value {
  margin-top: 5px;
  color: #171512;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

body.dark-mode #screen-schedule .about-card {
  background: #191b1c;
  border: 1px solid #36393a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

body.dark-mode #screen-schedule .spec-item {
  color: #f5f2ea;
  background: #252829;
  border-color: #424546;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
}

body.dark-mode #screen-schedule .spec-title {
  color: #d5ad5a;
}

body.dark-mode #screen-schedule .spec-value {
  color: #fffdf7;
}

/* Tus datos */
body.dark-mode .client-data-screen {
  color: #f0efec;
  background: #0f1112;
}

body.dark-mode .client-data-back {
  color: #d8d7d3;
  background: #191b1c;
  border-color: #343637;
  box-shadow: none;
}

body.dark-mode .client-data-header h1,
body.dark-mode .client-field > label {
  color: #f0efec;
}

body.dark-mode .client-data-header p {
  color: #999894;
}

body.dark-mode .client-field input[type="tel"],
body.dark-mode .client-field input[type="text"],
body.dark-mode .client-notes-card textarea,
body.dark-mode .client-reference-row {
  color: #ecebe8;
  background: #191b1c;
  border-color: #343637;
  box-shadow: none;
}

body.dark-mode .client-field input::placeholder,
body.dark-mode .client-notes-card textarea::placeholder,
body.dark-mode .client-reference-picker span {
  color: #777773;
}

body.dark-mode .client-reference-upload {
  color: #aaa9a5;
}

body.dark-mode .client-data-actions {
  background: linear-gradient(180deg, rgba(15, 17, 18, 0) 0%, #0f1112 25%);
}

body.dark-mode .client-data-actions .client-back-action {
  color: #d0cfcb;
  background: #191b1c;
  border-color: #343637;
  box-shadow: none;
}

/* Método de pago */
body.dark-mode #screen-payment,
body.dark-mode #screen-payment .payment-sheet {
  background: #0f1112;
}

body.dark-mode #screen-payment .appointment-summary-card,
body.dark-mode #screen-payment .gift-card-box,
body.dark-mode #screen-payment .pay-method-card,
body.dark-mode #screen-payment .receipt-upload-action {
  color: #ecebe8;
  background: #191b1c;
  border-color: #343637;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
}

body.dark-mode #screen-payment .summary-row,
body.dark-mode #screen-payment .gift-card-box label,
body.dark-mode #screen-payment .pay-info h4,
body.dark-mode #screen-payment .receipt-upload-copy strong {
  color: #ecebe8;
}

body.dark-mode #screen-payment .summary-row.total-row {
  border-color: #343637;
}

body.dark-mode #screen-payment .gift-card-input-group input {
  color: #ecebe8;
  background: #252728;
}

body.dark-mode #screen-payment .gift-card-input-group input::placeholder,
body.dark-mode #screen-payment .pay-info p,
body.dark-mode #screen-payment .receipt-upload-copy small {
  color: #8f8e8a;
}

body.dark-mode #screen-payment .pay-method-card.active {
  border-color: #c59d56;
  background: #201d18;
}

body.dark-mode #screen-payment .receipt-upload-action {
  border-color: #4a4640;
}

body.dark-mode #screen-payment .receipt-upload-icon {
  color: #d2a95c;
  background: #292722;
}

body.dark-mode #screen-payment .receipt-ready-action {
  color: #d9f3e1;
  background: #16231a;
  border-color: #477457;
}

body.dark-mode #screen-payment .payment-swipe-container {
  color: #d5d4d0;
  background: #252728;
}

body.dark-mode #screen-payment .swipe-knob.pay-knob {
  background: #17191a;
}

body.dark-mode #screen-payment .knob-pay-icon svg,
body.dark-mode #screen-payment .knob-pay-text .amount {
  color: #ecebe8;
}

/* Diálogos */
body.dark-mode .modal-card {
  color: #ecebe8;
  background: #191b1c;
  border: 1px solid #343637;
}

body.dark-mode .modal-card h2 {
  color: #f2f1ee;
}

body.dark-mode .modal-card p {
  color: #999894;
}

body.dark-mode .modal-details,
body.dark-mode #review-name,
body.dark-mode #review-text {
  color: #ecebe8;
  background: #252728;
  border-color: #3a3c3d;
}

body.dark-mode #screen-schedule .reviews-state-message,
body.dark-mode #screen-schedule .reviews-empty-state {
  color: #999894;
  background: #191b1c;
  border-color: #3a3c3d;
}

body.dark-mode #screen-schedule .reviews-empty-state strong {
  color: #f2f1ee;
}

body.dark-mode .secondary-btn {
  color: #d0cfcb;
  background: #292b2c;
}

body.dark-mode .loading-skeleton {
  background: linear-gradient(90deg, #1b1d1e 25%, #292b2c 50%, #1b1d1e 75%);
  background-size: 200% 100%;
}
