/* DIA MARCADO PUBLIC — PREMIUM V1 */

:root{
  --dm-public-bg:#050505;
  --dm-public-surface:#111113;
  --dm-public-surface-2:#19191c;
  --dm-public-text:#f5f5f7;
  --dm-public-muted:#98989d;
  --dm-public-line:rgba(255,255,255,.09);
  --dm-public-accent:var(--accent,#c99682);
  --dm-public-search-bg:#17191c;
  --dm-public-search-border:#30343a;
}

html body{
  background:#000;
  color:var(--dm-public-text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "Helvetica Neue",
    Arial,
    sans-serif;
  -webkit-font-smoothing:antialiased;
}

html body .app{
  max-width:560px;
  background:var(--dm-public-bg);
}

/* HERO */

html body .hero{
  height:390px;
  overflow:hidden;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.04) 10%,
      rgba(0,0,0,.18) 48%,
      rgba(0,0,0,.92) 100%
    ),
    linear-gradient(145deg,#72594e,#211b19 68%);
}

html body .hero-actions{
  top:max(18px,env(safe-area-inset-top));
  left:16px;
  right:16px;
}

html body .circle{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(20,20,20,.58);
  color:#fff;
  font-size:22px;
  backdrop-filter:blur(20px) saturate(180%);
  -webkit-backdrop-filter:blur(20px) saturate(180%);
  box-shadow:0 8px 28px rgba(0,0,0,.22);
}

html body .hero-content{
  left:20px;
  right:20px;
  bottom:24px;
}

html body .score{
  margin-bottom:8px;
  color:#ffb340;
  font-size:14px;
  font-weight:600;
}

html body .hero h1{
  color:#fff;
  margin:0 0 8px;
  font-size:32px;
  line-height:1.03;
  letter-spacing:-.04em;
  font-weight:720;
}

html body .location{
  color:rgba(255,255,255,.72);
  font-size:14px;
  font-weight:500;
}

/* ABAS */

html body .tabs{
  position:sticky;
  top:0;
  z-index:20;
  gap:6px;
  padding:8px 16px;
  overflow-x:auto;
  border:0;
  background:rgba(5,5,5,.82);
  backdrop-filter:blur(24px) saturate(180%);
  -webkit-backdrop-filter:blur(24px) saturate(180%);
  scrollbar-width:none;
}

html body .tabs::-webkit-scrollbar{
  display:none;
}

html body .tab{
  flex:0 0 auto;
  min-width:auto;
  padding:9px 14px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:var(--dm-public-muted);
  font-size:13px;
  font-weight:650;
}

html body .tab.active{
  border:0;
  background:#f5f5f7;
  color:#111;
}

/* CONTEÚDO */

html body .content{
  padding:18px 16px 32px;
}

html body .search{
  min-height:48px;
  margin:0 0 22px;
  padding:13px 16px;
  border:1px solid var(--dm-public-line);
  border-radius:15px;
  background:var(--dm-public-surface);
  color:var(--dm-public-text);
  font-size:15px;
  outline:none;
  box-shadow:none;
}

html body .search:focus{
  border-color:rgba(255,255,255,.22);
  box-shadow:0 0 0 4px rgba(255,255,255,.05);
}

#business-whatsapp{min-width:44px;min-height:44px;text-decoration:none}
.public-icon-definitions{position:absolute;overflow:hidden;pointer-events:none}
.public-icon{width:22px;height:22px;display:inline-block;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#favorite.tt-favorite-active .public-icon{fill:currentColor}
html body .hero .location{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:0;border:0;background:transparent;font:inherit;font-size:13px;text-align:left;cursor:pointer}
.hero .location:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:4px}
.hero .location .public-icon{width:18px;height:18px}
#details-tab .card{background:var(--dm-public-surface);border:1px solid var(--dm-public-line);color:var(--dm-public-text)}
#details-tab .card-title{display:flex;align-items:center;gap:8px;color:var(--dm-public-text)}
#details-tab .card-text{color:var(--dm-public-muted)}
#details-tab .card-btn{background:var(--dm-public-surface-2);color:var(--dm-public-text);border:1px solid var(--dm-public-line)}
.duration{display:inline-flex;align-items:center;gap:5px}
.duration .public-icon,.tt-rating-star .public-icon{width:16px;height:16px}
.success-icon .public-icon{width:32px;height:32px}
#reviews-tab .review-score{background:var(--dm-public-surface);color:var(--dm-public-text);border-radius:16px;padding:24px}
#reviews-tab .review-score h2{font-size:20px}
#reviews-tab .review-score p{color:var(--dm-public-muted)}
#reviews-tab .card{background:var(--dm-public-surface);border:1px solid var(--dm-public-line)}
#reviews-tab .card-text{color:var(--dm-public-muted)}
html body .provider-option .tt-provider-rating{position:static;display:block;max-width:110px;margin-top:5px;padding:0;background:none;border:0;box-shadow:none;color:var(--dm-public-muted);font-size:11px;white-space:normal;line-height:1.4}
.professional-link-rating{color:#f5f5f7;font-size:13px;margin:6px 0}

/* One decorative search icon; the placeholder contains text only. */
#services-tab .search{
  height:54px;
  padding:0 18px 0 46px;
  border:1px solid var(--dm-public-search-border);
  border-radius:14px;
  background:var(--dm-public-search-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2376767b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='m15 15 6 6'/%3E%3C/svg%3E") no-repeat 16px center / 20px 20px;
  color:var(--dm-public-text);
}
#services-tab .search::placeholder{color:var(--dm-public-muted);opacity:1}
#services-tab .search:focus{
  border-color:var(--dm-public-muted);
  outline:2px solid var(--dm-public-line);
  outline-offset:2px;
}

/* Authentication choices become data confirmation after the existing Google success. */
#auth-overlay .auth-title{font-size:22px;line-height:1.3;font-weight:650;padding-right:48px}
#auth-overlay .close{width:44px;height:44px;background:transparent;color:var(--dm-public-muted);font-size:24px}
#auth-overlay .google{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;border:1px solid var(--dm-public-line);font-size:15px}
#auth-overlay .google svg{width:20px;height:20px;flex:none}
#auth-overlay label{display:block;margin:12px 0 6px;font-size:14px;font-weight:600}
#auth-overlay .guest-hint,#google-client-notice{color:var(--dm-public-muted);font-size:13px;line-height:1.5}
#auth-overlay.google-connected [data-auth-choice]{display:none}
#auth-overlay button:focus-visible{outline:2px solid var(--dm-public-accent);outline-offset:2px}

@media(prefers-color-scheme:light){
  :root{
    --dm-public-search-bg:var(--dm-public-surface);
    --dm-public-search-border:var(--dm-public-line);
  }
  html body .provider-option,html body .day{color:var(--dm-public-text)}
  html body .provider-photo{color:#fff}
  html body .provider-any{background:var(--dm-public-surface-2);color:var(--dm-public-text);border-color:var(--dm-public-line)}
  html body .provider-option.active .provider-photo{border-color:var(--dm-public-accent)}
  html body .provider-option.active span{color:var(--dm-public-text);font-weight:700}
  html body .day span,html body .day:disabled{color:var(--dm-public-muted)}
}

html body .label{
  margin:0 0 10px;
  color:var(--dm-public-muted);
  font-size:11px;
  letter-spacing:.08em;
  font-weight:700;
}

/* CATEGORIAS */

html body .categories{
  gap:8px;
  margin-bottom:22px;
}

html body .category{
  padding:9px 14px;
  border:1px solid var(--dm-public-line);
  border-radius:999px;
  background:var(--dm-public-surface);
  color:#d7d7dc;
  font-size:13px;
  font-weight:600;
}

html body .category.active{
  border-color:transparent;
  background:var(--dm-public-accent);
  color:#111;
}

/* SERVIÇOS */

html body #services{
  display:grid;
  gap:12px;
}

html body .service{
  position:relative;
  display:grid;
  grid-template-columns:88px minmax(0,1fr);
  gap:14px;
  align-items:center;
  padding:14px;
  border:1px solid var(--dm-public-line);
  border-radius:22px;
  background:var(--dm-public-surface);
  box-shadow:
    0 1px 2px rgba(0,0,0,.15),
    0 14px 40px rgba(0,0,0,.15);
}

html body .service-photo{
  width:88px;
  height:88px;
  border-radius:18px;
  background-size:cover;
  background-position:center;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
}

html body .service-body{
  padding-right:2px;
}

html body .service-name{
  margin:0 0 7px;
  color:var(--dm-public-text);
  font-size:17px;
  line-height:1.18;
  letter-spacing:-.015em;
  font-weight:680;
}

html body .service-meta{
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:12px;
  font-size:13px;
}

html body .price{
  color:#30d158;
  font-weight:650;
}

html body .duration{
  color:var(--dm-public-muted);
}

html body .book{
  grid-column:2;
  width:100%;
  min-height:40px;
  padding:9px 14px;
  border:0;
  border-radius:12px;
  background:var(--dm-public-accent);
  color:#111;
  font-size:13px;
  font-weight:700;
}

@media(hover:hover){
  html body .service{
    transition:
      transform .18s ease,
      border-color .18s ease;
  }

  html body .service:hover{
    transform:translateY(-2px);
    border-color:rgba(255,255,255,.14);
  }
}

@media(max-width:390px){
  html body .hero{
    height:360px;
  }

  html body .hero h1{
    font-size:29px;
  }

  html body .service{
    grid-template-columns:78px minmax(0,1fr);
    padding:12px;
  }

  html body .service-photo{
    width:78px;
    height:78px;
  }
}

@media(prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    transition:none!important;
    animation:none!important;
  }
}


/* DIA MARCADO — SERVICE CARD COMPACT V2 */

html body .service{
  grid-template-columns:
    82px
    minmax(0,1fr)
    auto;

  gap:12px;
  align-items:center;

  padding:12px;

  border-radius:18px;
}

html body .service-photo{
  grid-column:1;
  grid-row:1;

  width:82px;
  height:82px;

  border-radius:16px;
}

html body .service-body{
  grid-column:2;
  grid-row:1;

  min-width:0;
  padding-right:0;

  align-self:center;
}

html body .service-name{
  margin:0 0 6px;

  font-size:16px;
  line-height:1.2;
}

html body .service-meta{
  gap:8px;
  margin-bottom:0;

  font-size:12.5px;

  flex-wrap:wrap;
}

html body .book{
  grid-column:3;
  grid-row:1;

  justify-self:end;
  align-self:center;

  width:auto;

  min-width:74px;
  min-height:36px;

  padding:8px 12px;

  border-radius:11px;

  font-size:12.5px;
  line-height:1;

  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}

html body .book:active{
  transform:scale(.96);
}

@media(max-width:390px){

  html body .service{
    grid-template-columns:
      74px
      minmax(0,1fr)
      auto;

    gap:10px;
    padding:10px;
  }

  html body .service-photo{
    width:74px;
    height:74px;

    border-radius:14px;
  }

  html body .service-name{
    font-size:15.5px;
  }

  html body .service-meta{
    gap:6px;
    font-size:12px;
  }

  html body .book{
    min-width:68px;
    min-height:34px;

    padding:7px 10px;

    border-radius:10px;

    font-size:12px;
  }
}



/* DIA MARCADO — CLIENT SCHEDULE IOS V1 */

html body .schedule-screen{
  padding:
    14px
    20px
    calc(32px + env(safe-area-inset-bottom));
}

html body .schedule-header{
  grid-template-columns:
    40px
    1fr
    40px;

  min-height:44px;

  margin-bottom:14px;
}

html body .schedule-header button{
  width:38px;
  height:38px;

  border:1px solid rgba(255,255,255,.08);

  border-radius:50%;

  background:
    rgba(255,255,255,.07);

  color:#fff;

  font-size:27px;
  line-height:1;

  backdrop-filter:
    blur(16px)
    saturate(160%);

  -webkit-backdrop-filter:
    blur(16px)
    saturate(160%);
}

html body .schedule-title{
  font-size:17px;
  font-weight:700;
  letter-spacing:-.01em;
}

html body .schedule-header-spacer{
  width:38px;
  height:38px;
}

/* Serviço já escolhido */

html body .selected-service{
  margin:0 0 22px;

  padding:12px 14px;

  border:1px solid rgba(255,255,255,.07);

  border-radius:14px;

  background:
    rgba(255,255,255,.045);
}

html body .selected-service strong{
  margin-bottom:3px;

  font-size:15px;
  line-height:1.2;
}

html body .selected-service span{
  color:#98989e;

  font-size:13px;
}

/* Profissional */

html body .provider-section{
  margin:0 0 22px;
}

html body .provider-section h2{
  margin:0 0 14px;

  font-size:17px;
  line-height:1.2;
  letter-spacing:-.01em;
}

html body .providers{
  gap:14px;

  overflow-x:auto;

  margin:0 -20px 8px;
  padding:0 20px 8px;

  scrollbar-width:none;

  scroll-snap-type:x proximity;

  -webkit-overflow-scrolling:touch;
}

html body .providers::-webkit-scrollbar{
  display:none;
}

html body .provider-option{
  flex:0 0 76px;
  width:76px;

  scroll-snap-align:start;
}

html body .provider-photo{
  width:62px;
  height:62px;

  margin-bottom:7px;

  border-width:2px;

  font-size:16px;
}

html body .provider-option span{
  font-size:12px;
  line-height:1.18;
}

html body .provider-warning{
  min-height:20px;

  margin-top:4px;

  padding:4px 0;

  border:0;

  background:transparent;

  color:#98989e;

  font-size:12.5px;
  line-height:1.35;
}

/* Calendário */

html body .calendar-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;

  margin:0 0 10px;
}

html body .calendar-heading strong{
  color:#f5f5f7;

  font-size:17px;
  line-height:1.2;

  letter-spacing:-.01em;
}

html body .calendar-heading span{
  color:#8e8e93;

  font-size:12px;
}

html body .days{
  gap:8px;

  margin:
    0
    -20px
    22px;

  padding:
    4px
    20px
    12px;

  overflow-x:auto;

  scroll-padding-inline:20px;
  scroll-snap-type:x mandatory;

  overscroll-behavior-x:contain;

  -webkit-overflow-scrolling:touch;
}

html body .day{
  flex:0 0 52px;
  min-width:52px;

  padding:4px 2px 6px;

  border-radius:16px;

  scroll-snap-align:center;

  -webkit-tap-highlight-color:transparent;
}

html body .day span{
  margin-bottom:8px;

  font-size:11px;
  font-weight:600;

  text-transform:uppercase;
}

html body .day strong{
  width:40px;
  height:40px;

  font-size:17px;

  transition:
    transform .18s ease,
    background .18s ease;
}

html body .day.active strong{
  background:
    var(--dm-public-accent);

  color:#111;

  transform:scale(1.04);
}

html body .day:active strong{
  transform:scale(.94);
}

@media(max-width:390px){

  html body .schedule-screen{
    padding-left:16px;
    padding-right:16px;
  }

  html body .providers,
  html body .days{
    margin-left:-16px;
    margin-right:-16px;

    padding-left:16px;
    padding-right:16px;
  }
}



/* DIA MARCADO — EMPTY PROVIDER WARNING */
html body .provider-warning:empty{
  display:none !important;
}


/* DIA MARCADO — SCHEDULE COMPACT IOS V2 */

/* Cabeçalho */
html body .schedule-header{
  min-height:40px;
  margin-bottom:12px;
}

html body .schedule-header button{
  width:34px;
  height:34px;
  font-size:24px;
  background:rgba(255,255,255,.055);
  border-color:rgba(255,255,255,.065);
}

/* Serviço */
html body .selected-service{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;

  margin:0 0 18px;
  padding:10px 12px;

  border-radius:12px;
}

html body .selected-service strong{
  min-width:0;
  margin:0;

  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;

  font-size:14px;
}

html body .selected-service span{
  flex:0 0 auto;
  font-size:12px;
  white-space:nowrap;
}

/* Profissionais */
html body .provider-section{
  margin-bottom:18px;
}

html body .provider-section h2{
  margin-bottom:11px;
  font-size:16px;
}

html body .providers{
  gap:10px;
  margin-bottom:4px;
  padding-bottom:5px;
}

html body .provider-option{
  flex-basis:68px;
  width:68px;
}

html body .provider-photo{
  width:54px;
  height:54px;

  margin-bottom:6px;

  font-size:14px;
  border-width:2px;
}

html body .provider-option span{
  font-size:11.5px;
}

html body .provider-option.active .provider-photo{
  box-shadow:
    0 0 0 2px rgba(255,45,133,.16);
}

html body .provider-warning{
  min-height:0;
  margin-top:2px;
  padding:3px 0;
  font-size:12px;
}

/* Calendário */
html body .calendar-heading{
  align-items:center;
  margin-bottom:8px;
}

html body .calendar-heading strong{
  font-size:16px;
}

html body .calendar-heading span{
  font-size:11.5px;
}

html body .days{
  gap:5px;
  margin-bottom:17px;

  padding-top:2px;
  padding-bottom:9px;

  scroll-snap-type:x proximity;
}

html body .day{
  flex-basis:48px;
  min-width:48px;

  padding:3px 2px 5px;
  border-radius:14px;
}

html body .day span{
  margin-bottom:6px;
  font-size:10px;
}

html body .day strong{
  width:36px;
  height:36px;
  font-size:16px;
}

html body .day.active strong{
  transform:none;

  box-shadow:
    0 3px 12px rgba(255,45,133,.20);
}

/* Períodos */
html body .period{
  margin-top:20px;
}

html body .period-head{
  gap:9px;
  margin-bottom:11px;
}

html body .period-head strong{
  font-size:15px;
}

html body .period-line{
  background:rgba(255,255,255,.10);
}

html body .period-count{
  display:none !important;
}

/* Horários */
html body .times{
  grid-template-columns:
    repeat(4,minmax(0,1fr));

  gap:8px;
}

html body .time{
  min-height:42px;

  padding:9px 4px;

  border:
    1px solid rgba(255,255,255,.11);

  border-radius:11px;

  background:rgba(255,255,255,.055);

  color:#f5f5f7;

  font-size:14px;
  font-weight:600;

  -webkit-tap-highlight-color:transparent;

  transition:
    transform .12s ease,
    background .12s ease,
    border-color .12s ease;
}

html body .time:active{
  transform:scale(.96);

  border-color:var(--dm-public-accent);
  background:var(--dm-public-accent);
  color:#111;
}

@media(max-width:350px){
  html body .times{
    grid-template-columns:
      repeat(3,minmax(0,1fr));
  }
}



/* DIA MARCADO — MORE TIMES V1 */

html body .tt-more-times{
  grid-column:1 / -1;
  min-height:38px;
  padding:7px 10px;
  border:0;
  border-radius:10px;
  background:transparent;
  color:var(--dm-public-accent);
  font-size:13px;
  font-weight:700;
  text-align:center;
  -webkit-tap-highlight-color:transparent;
}

html body .tt-more-times:active{
  background:rgba(255,45,133,.08);
}

