@charset "UTF-8";
/* ===== Общие стили для input и select ===== */
input[type=text],
input[type=email],
input[type=tel],
input[type=date],
input[type=time],
select {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /*font-size: 1rem;*/
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #dee2e6;
  appearance: none;
  border-radius: 0.375rem;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  min-height: 37px;
}

/* ===== Плейсхолдер ===== */
input[type=text]::placeholder,
input[type=email]::placeholder,
input[type=tel]::placeholder,
input[type=date]::placeholder,
input[type=time]::placeholder {
  color: #6c757d;
  opacity: 1;
}

/* ===== Состояние фокуса ===== */
input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=date]:focus,
input[type=time]:focus,
select:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* ===== Disabled / readonly ===== */
input[type=text]:disabled,
input[type=text][readonly],
input[type=email]:disabled,
input[type=email][readonly],
input[type=tel]:disabled,
input[type=tel][readonly],
input[type=date]:disabled,
input[type=date][readonly],
input[type=time]:disabled,
input[type=time][readonly],
select:disabled {
  background-color: #e9ecef;
  opacity: 1;
}

/* ===== Специфика для select ===== */
select {
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  -moz-padding-start: calc(0.75rem - 3px);
  /* SVG-стрелка (та же, что в Bootstrap 5) */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}

select:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Убираем стрелку для multiple и size>1 */
select[multiple],
select[size]:not([size="1"]) {
  padding-right: 0.75rem;
  background-image: none;
}

select:disabled {
  color: #6c757d;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

:root {
  --accent: #0088CC;
  --accent-dark: #0077B3;
  --accent-light: #e0f2fe;
  --accent-light-text: #0369a1;
  --accent-ring: rgba(0, 136, 204, 0.15);
  --pop: #F97316;
  --pop-light: #fef3c7;
  --pop-text: #92400e;
  --bg: #E2E8F0;
  --bg-card: #ffffff;
  --text: #333333;
  --text-secondary: #555555;
  --text-muted: #888888;
  --border: #d0d0d0;
  --border-light: #e5e5e5;
  --hover-bg: #f0f0f0;
  --overlay: rgba(0, 0, 0, 0.4);
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-lg: rgba(0, 0, 0, 0.15);
  --error: #dc2626;
  --success-bg: #d1fae5;
  --success-text: #065f46;
  --danger-bg: #fee2e2;
  --danger-text: #991b1b;
  --neutral-bg: #f3f4f6;
  --neutral-text: #6b7280;
  --gap-bg: #f0fdf4;
  --gap-text: #166534;
  --break-bg: #f3f4f6;
  --break-text: #6b7280;
  --closed-bg: #fef3c7;
  --closed-text: #92400e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.page {
  padding: 24px 0;
}

.card {
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: 0 1px 3px var(--shadow);
  padding: 20px;
  margin-bottom: 16px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  background: var(--hover-bg);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 13px;
}

/* Кнопки действий на дашборде */
.btn-action {
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 18px;
  line-height: 40px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}

.btn-action:hover {
  background: var(--hover-bg);
}

.btn-action-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-action-primary:hover {
  background: var(--accent-dark);
}

/*input[type=text],*/
/*input[type=email],*/
/*input[type=tel],*/
/*input[type=date],*/
/*input[type=time],*/
/*select {*/
/*    width: 100%;*/
/*    padding: 10px 12px;*/
/*    border: 1px solid var(--border);*/
/*    border-radius: 8px;*/
/*    font-size: 14px;*/
/*    outline: none;*/
/*    box-sizing: border-box;*/
/*    */
/*    &:focus {*/
/*        border-color: var(--accent);*/
/*        box-shadow: 0 0 0 2px var(--accent-ring);*/
/*    }*/
/*}*/
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: 16px;
}

.text-muted {
  color: var(--text-muted);
  font-size: 13px;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mt-2 {
  margin-top: 8px;
}

.mt-4 {
  margin-top: 16px;
}

.flex {
  display: flex;
}

.gap-2 {
  gap: 8px;
}

.gap-3 {
  gap: 12px;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

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

.text-center {
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 14px;
  /* font-weight: 600; */
}

.badge-pending {
  background: var(--pop-light);
  color: var(--pop-text);
  min-width: 200px;
}

.badge-confirmed {
  background: var(--success-bg);
  color: var(--success-text);
  min-width: 200px;
}

.badge-cancelled, .badge-cancelled_by_master, .badge-cancelled_by_visitor {
  background: var(--danger-bg);
  color: var(--danger-text);
  min-width: 200px;
}

.badge-no_show {
  background: var(--neutral-bg);
  color: var(--neutral-text);
  min-width: 200px;
}

.badge-obed {
  background: #f3f4f6;
  color: #000;
  min-width: 200px;
}

.badge-blocked {
  background: #fef3c7;
  color: #92400e;
  min-width: 200px;
}

/* Модальное окно */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px;
  width: 90%;
  max-width: 360px;
  box-shadow: 0 4px 24px var(--shadow-lg);
}

.modal-window h3 {
  margin-bottom: 12px;
}

.modal-window p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Адаптация под смартфоны */
@media (max-width: 640px) {
  .page {
    padding: 12px 0;
  }
  .container {
    padding: 0 8px;
  }
  .card {
    padding: 12px;
  }
  h1 {
    font-size: 20px;
  }
  h2 {
    font-size: 18px;
  }
  h3 {
    font-size: 15px;
  }
  .flex.gap-2 {
    gap: 4px;
  }
  /*.btn-action {*/
  /*    width: 38px;*/
  /*    height: 38px;*/
  /*    font-size: 16px;*/
  /*}*/
  /*input, select {*/
  /*    padding: 8px 10px;*/
  /*    font-size: 14px;*/
  /*}*/
}
/* Mobile dashboard */
@media (max-width: 640px) {
  .page {
    padding: 8px 0;
  }
  .card {
    padding: 10px;
  }
  h1 {
    font-size: 18px;
  }
  h2 {
    font-size: 16px;
  }
  h3 {
    font-size: 14px;
  }
  .gap-2 {
    gap: 3px;
  }
  .gap-3 {
    gap: 4px;
  }
  /*.btn-action {*/
  /*    width: 34px;*/
  /*    height: 34px;*/
  /*    font-size: 14px;*/
  /*}*/
  /*.btn-sm, .btn-outline-sm {*/
  /*    font-size: 11px;*/
  /*    padding: 4px 8px;*/
  /*}*/
  /*input, select {*/
  /*    font-size: 13px;*/
  /*    padding: 6px 8px;*/
  /*}*/
  .flex-wrap {
    gap: 3px;
  }
  .day-card .flex.justify-between {
    flex-wrap: wrap;
  }
  .day-card .flex.gap-2 {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .pending-row .flex.gap-2 {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .container {
    padding: 0 4px;
  }
  .modal-window {
    width: 95%;
    padding: 16px;
  }
  .modal-window h3 {
    font-size: 16px;
  }
  .form-group {
    margin-bottom: 8px;
  }
  label {
    font-size: 12px;
  }
  body {
    font-size: 13px;
  }
  .slot-card {
    min-width: 60px !important;
    padding: 6px 10px !important;
    font-size: 12px;
  }
  .day-card .flex.items-center.gap-2 {
    flex-wrap: wrap;
  }
}
/* Автоподсказка клиентов */
.phone-autocomplete {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 4px 12px var(--shadow-lg);
  z-index: 100;
  max-height: 200px;
  overflow-y: auto;
}

.phone-autocomplete-item {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-light);
  font-size: 14px;
}

.phone-autocomplete-item:last-child {
  border-bottom: none;
}

.phone-autocomplete-item:hover {
  background: var(--hover-bg);
}

.eb-landing-outer * {
  box-sizing: border-box;
}
.eb-landing-outer .eb-landing {
  margin: -24px -16px;
  padding: 0 0 24px;
  min-height: 100dvh;
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 55%, #334155 100%);
  color: #e2e8f0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.eb-landing-outer .wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}
.eb-landing-outer .logo {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #94a3b8;
}
.eb-landing-outer h1 {
  font-size: clamp(22px, 5vw, 44px);
  line-height: 1.15;
  margin: 14px 0 10px;
  color: #fff;
  font-weight: 700;
}
.eb-landing-outer .sub {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 640px;
  margin: 0 0 28px;
}
.eb-landing-outer .accent {
  color: #f97316;
}
.eb-landing-outer .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: 8px 0 30px;
}
.eb-landing-outer .step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 18px;
}
.eb-landing-outer .step .n {
  color: #f97316;
  font-weight: 800;
  font-size: 15px;
}
.eb-landing-outer .step b {
  display: block;
  margin: 6px 0 4px;
  color: #fff;
  font-size: 16px;
}
.eb-landing-outer .step p {
  margin: 0;
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.5;
}
.eb-landing-outer .cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.eb-landing-outer .btn {
  display: inline-block;
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.eb-landing-outer .btn.primary {
  background: #f97316;
  color: #fff;
}
.eb-landing-outer .btn.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.eb-landing-outer .contacts {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 22px;
}
.eb-landing-outer .contacts h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 20px;
}
.eb-landing-outer .contacts .c-sub {
  color: #94a3b8;
  margin: 0 0 14px;
  font-size: 14px;
}
.eb-landing-outer .contacts a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 14px 8px 0;
  color: #93c5fd;
  font-size: 16px;
  text-decoration: none;
  word-break: break-all;
}
.eb-landing-outer .contacts a svg {
  flex: none;
}
.eb-landing-outer .contacts a:hover {
  text-decoration: underline;
}
.eb-landing-outer footer {
  margin-top: 30px;
  font-size: 13px;
  color: #64748b;
  text-align: center;
}
.eb-landing-outer footer a {
  color: #64748b;
}