.rezerv-section {
  padding: 48px 0 64px;
}

.rezerv-layout {
  max-width: 520px;
  margin: 0 auto;
}

.rezerv-layout--with-card {
  max-width: 840px;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.rezerv-tool-wrap {
  display: none;
  min-width: 350px;
  flex-shrink: 0;
}

.rezerv-layout--with-card .rezerv-tool-wrap {
  display: block;
}

.rezerv-tool-wrap .tool-card {
  width: 100%;
}

.rezerv-info {
  flex: 1;
  text-align: center;
}

.rezerv-layout--with-card .rezerv-info {
  text-align: left;
}

.rezerv-info h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
}

.rezerv-info__desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 12px;
}

.rezerv-info__hours {
  font-size: 14px;
  color: var(--text-sub);
  margin: 0 0 32px;
}

.rezerv-info__rodo {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-top: 20px;
}

.rezerv-info__rodo a {
  color: var(--text-muted);
  text-decoration: underline;
}

@media (max-width: 680px) {
  .rezerv-layout--with-card {
    flex-direction: column;
  }

  .rezerv-tool-wrap {
    min-width: unset;
    width: 100%;
  }

  .rezerv-layout--with-card .rezerv-info {
    text-align: center;
  }
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s,
    visibility 0.2s;
  padding: 16px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px 28px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.modal__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 20px;
}

.modal__tool {
  font-size: 14px;
  color: var(--text-muted, #6b7280);
  margin: 0 0 24px;
  min-height: 20px;
}

.modal__tool strong {
  color: var(--text);
}

.modal__field {
  margin-bottom: 16px;
}

.modal__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.modal__input {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  box-sizing: border-box;
  transition: border-color 0.15s;
  color-scheme: light dark;
}

.modal__input:focus {
  outline: none;
  border-color: var(--accent);
}

.modal__input.error {
  border-color: #ef4444;
}

.modal__row {
  display: flex;
  gap: 8px;
}

.modal__row .modal__input {
  width: auto;
}

.modal__row .modal__input:first-child {
  flex: 1;
}

.modal__input--time {
  flex: 0 0 108px;
  cursor: pointer;
}

.modal__error {
  display: block;
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
  min-height: 16px;
}

.modal__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.modal__actions .btn {
  flex: 1;
}
