html, html * {
  font-family: "Heebo", system-ui, Montserrat, Helvetica, Arial, sans-serif !important;
  font-optical-sizing: auto;
  /*font-family: system-ui, Montserrat, Helvetica, Arial, sans-serif !important;*/
}
*, *::before, *::after {box-sizing: border-box;}
* {margin: 0;}
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  background-color: #0161c4;
  direction: rtl;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}
input, button, textarea, select {
  font: inherit;
  outline: none;
}
p, h1, h2, h3, h4, h5, h6 {overflow-wrap: break-word;}
p {text-wrap: pretty;}
h1, h2, h3, h4, h5, h6 {text-wrap: balance;}
#root, #__next {isolation: isolate;}
header {}
header img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
}
.main {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  background-color: #f0f0f0;
  padding: 40px 20px 20px;
}
@media (max-width: 500px) {
  .main {
    padding-bottom: 40px;
  }
}
.options_block {
  margin-bottom: 50px;
  position: relative;
}
.options_block h4 {
  font-size: 16px;
  font-weight: 500;
  color: #091120;
  margin-bottom: 10px;
}
.options_block_input {
  height: 40px;
  min-width: 200px;
  width: 100%;
  max-width: 320px;
  border: 1px solid #bcc0d3;
  background-color: #f0f0f0;
  color: #091120;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 400;
}
.options_block_input:active,
.options_block_input:focus,
.options_block_input:active:focus {
  border-color: #1185b3;
}
.options_block_select {
  height: 40px;
  min-width: 200px;
  width: 100%;
  max-width: 320px;
  border-radius: 10px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 400;
  border: 1px solid #bcc0d3;
  background-color: #f0f0f0;
  color: #091120;
}
.options_block_select:active,
.options_block_select:focus,
.options_block_select:active:focus {
  border-color: #1185b3;
}
.options_block_checkbox_label {
  position: relative;
  display: flex;
  border: 1px solid #bcc0d3;
  background-color: #f0f0f0;
  height: 40px;
  width: 200px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}
/* Day block now uses radio buttons instead of checkbox toggle */
.label_val {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
  padding: 0 14px;
  position: relative;
  z-index: 1;
  width: 50%;
}
.label_val::after {
  content: '✓';
  margin-left: 6px;
  font-size: 18px;
  font-weight: bold;
  display: none;
  order: -1;
}
.options_block_checkbox ~ .options_block_checkbox_label .label_val:nth-child(1) { color: #fff; }
.options_block_checkbox:checked ~ .options_block_checkbox_label .label_val:nth-child(1) {color: #091120;}

.options_block_checkbox ~ .options_block_checkbox_label .label_val:nth-child(2) { color: #091120; }
.options_block_checkbox:checked ~ .options_block_checkbox_label .label_val:nth-child(2) {color: #fff;}

.options_block_checkbox ~ .options_block_checkbox_label .label_val:nth-child(2)::after {
  display: none;
}
.options_block_checkbox:checked ~ .options_block_checkbox_label .label_val:nth-child(2)::after {
  display: inline;
}
.options_block_checkbox:not(:checked) ~ .options_block_checkbox_label .label_val:nth-child(1)::after {
  display: inline;
}


.label_runner {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50%;
  background-color: #0d88db;
  transition-duration: .25s;
  transition-property: left;
}
.options_block_checkbox ~ .options_block_checkbox_label .label_runner {left: 50%;}
.options_block_checkbox:checked ~ .options_block_checkbox_label .label_runner {left: 0;}

.radio_group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 400px;
}
.radio_item {
  width: 100%;
}
.radio_item input[type="radio"] {
  display: none;
}
label.radio_item_label {
  cursor: pointer;
  border-radius: 10px;
  border: 2px solid #bcc0d3;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  transition: all 0.2s ease;
  position: relative;
}
label.radio_item_label:hover {
  background-color: #e5e7ed;
  border-color: #0d88db;
}
.radio_item input:checked + .radio_item_label {
  background-color: #0d88db;
  border-color: #0d88db;
}
.radio_item input:disabled + .radio_item_label {
  cursor: not-allowed;
  opacity: 0.6;
  background-color: #d3d5dd;
}
.radio_item input:disabled + .radio_item_label:hover {
  background-color: #d3d5dd;
  border-color: #bcc0d3;
}
.radio_item_label > span:first-child {
  font-size: 15px;
  font-weight: 500;
  color: #091120;
}
.radio_item input:checked + .radio_item_label > span:first-child {
  color: #fff;
  font-weight: 600;
}
.radio_item input:disabled + .radio_item_label > span:first-child {
  color: #666;
}
.radio_item_label::before {
  content: '';
  width: 20px;
  height: 20px;
  border: 2px solid #bcc0d3;
  border-radius: 50%;
  background-color: #fff;
  margin-left: 12px;
  flex-shrink: 0;
  transition: all 0.2s ease;
  order: 2;
}
.radio_item input:checked + .radio_item_label::before {
  background-color: #fff;
  border-color: #fff;
  box-shadow: inset 0 0 0 4px #0d88db;
}
.radio_item input:disabled + .radio_item_label::before {
  background-color: #bcc0d3;
  border-color: #999;
}
.closed-badge {
  background-color: #ff0000;
  color: #fff;
  padding: 3px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  margin-left: auto;
  margin-right: 12px;
  order: 1;
  box-shadow: 0 2px 4px rgba(255, 0, 0, 0.3);
}
.time-badge {
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
}
.time-badge.morning {
  background-color: #fff3cd;
  color: #856404;
}
.time-badge.evening {
  background-color: #cfe2ff;
  color: #084298;
}
.radio_item input:checked + .radio_item_label .time-badge.morning {
  background-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.radio_item input:checked + .radio_item_label .time-badge.evening {
  background-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.radio_item input:disabled + .radio_item_label .time-badge {
  background-color: rgba(0, 0, 0, 0.1);
  color: #666;
}
.radio_item_label .city {
  flex: 0 0 140px;
}
@media (max-width: 500px) {
  .radio_item_label .city {
    flex: 0 0 80px;
  }
}
.radio_item_label .address {
  flex: 1;
}
.radio_item_label .time {
  flex: 0 0 80px;
}
@media (max-width: 500px) {
  .radio_item_label .time {
    flex: 0 0 64px;
  }
}
.radio_item_label .selected_indicator {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  opacity: 0;
}
.radio_item input:checked + .radio_item_label .selected_indicator {
  opacity: 1;
}
.error_text {
  margin-top: 6px;
  font-weight: 800;
  font-size: 15px;
  color: #ff005c;
}
.regular_button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  min-width: 160px;
  height: 50px;
  border-radius: 10px;
  outline: none;
  box-shadow: none;
  color: #fff;
  background-color: #00aef3;
  transition-duration: .15s;
  transition-property: background-color;
  border: none;
  cursor: pointer;
}
.regular_button:hover {
  background-color: #149ed5;
}
.regular_button:active,
.regular_button:active:focus {
  box-shadow: inset 0px 0px 5px 0px rgba(0,0,0,0.75);
}

footer {
  background-color: #ebebeb;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  direction: ltr;
}
footer small {
  font-size: 14px;
  color: #091120;
}
footer small a img {
  display: inline;
  width: 50px;
  vertical-align: middle;
}


.svg-container {
  margin: 0 auto 40px;
  width: 100px;
}

.tick {
  stroke-opacity: 0;
  stroke-dasharray: 29px;
  stroke-dashoffset: 29px;
  animation-name: draw;
  animation-timing-function: cubic-bezier(.25, .25, .25, 1);
  animation-fill-mode: forwards;
  animation-delay: 1.2s;
  animation-duration: .5s;
}

.circle {
  fill-opacity: 0;
  stroke: #219a00;
  stroke-width: 16px;
  transform-origin: center;
  transform: scale(0);
  animation-name: grow;
  animation-timing-function: cubic-bezier(.25, .25, .25, 1.25);
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
  animation-duration: 1s;
}

@keyframes grow {
  60% {
    transform: scale(.8);
    stroke-width: 4px;
    fill-opacity: 0;
  }
  100% {
    transform: scale(.9);
    stroke-width: 8px;
    fill-opacity: 1;
    fill: #219a00;
  }
}

@keyframes draw {
  0%, 100% { stroke-opacity: 1; }
  100% { stroke-dashoffset: 0; }
}
#thanks h1 {
  text-align: center;
  margin-bottom: 40px;
  color: #091120;
}
#thanks h4 {
  text-align: center;
  color: #091120;
}

#loginForm {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#loading {
  text-align: center;
  padding: 60px 20px;
}
#loading h2 {
  color: #091120;
  margin-bottom: 30px;
}
.spinner {
  margin: 0 auto;
  width: 50px;
  height: 50px;
  border: 5px solid #bcc0d3;
  border-top: 5px solid #00aef3;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Old closed event styling removed - now using radio buttons with disabled state */
