@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;900;1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&display=swap');

/* === VŠE JEN PRO DESKTOP === */
@media only screen and (min-width: 701px) {

  /* === Layout pro marketingový blok a formulář === */
  .marketing-main {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    width: 100vw;
    min-height: 85vh;
    background: #f4f8fb;;
    box-sizing: border-box;
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 4vw;
    padding-right: 4vw;
    padding-top: 1.5vh;
    gap: 8vw;
  }

  .form-side {
    flex: 1 1 0;
    min-width: 360px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }

  .marketing-gap {
    display: none;
  }

  .marketing-side {
    flex: 1 1 0;
    max-width: 50vw;
    min-width: 330px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: none;
    align-items: flex-start;
    text-align: left;
  }

  .marketing-title {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 5.1em;
    font-weight: 1000;
    margin-bottom: 22px;
    margin-top: 0;
    line-height: 1.07;
    letter-spacing: -0.01em;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: baseline;
    text-align: left;
  }

  .title-blue {
    color: #1664f6;
    font-weight: 1000;
    letter-spacing: -0.01em;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.8em;
    text-shadow: 0 2px 14px #1664f62a;
    display: inline-block;
  }

  .title-black {
    color: #181a1c;
    font-weight: 1000;
    letter-spacing: -0.01em;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.8em;
    display: inline-block;
  }

  .marketing-subtitle {
    font-size: 1.65em;
    color: #283040;
    margin-bottom: 36px;
    font-weight: 700;
    font-family: 'Nunito', Arial, sans-serif;
    text-align: left;
  }

  .marketing-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: row;
    gap: 18px;
    justify-content: flex-start;
  }

  .marketing-benefits li {
    display: flex;
    align-items: center;
    font-size: 1.01em;
    color: #184075;
    font-weight: 700;
    gap: 9px;
    background: #e8f1fe;
    border-radius: 2em;
    padding: 7px 15px 7px 11px;
    box-shadow: 0 2px 12px #1664f61a;
    font-family: 'Nunito', Arial, sans-serif;
  }

  .icon-benefit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.18em;
    background: #d3eaff;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    min-width: 2em;
    min-height: 2em;
    color: #1664f6;
    margin-right: 0px;
  }
  .icon-benefit svg {
    display: block;
    width: 1.8em;
    height: 1.8em;
  }

  .benefit-text {
    display: inline-block;
  }

  .marketing-description {
    color: #393f4a;
    font-size: 1.45em;
    line-height: 1.6;
    margin-top: 18px;
    margin-bottom: 0;
    font-family: 'Nunito', Arial, sans-serif;
    font-weight: 600;
    background: none;
    letter-spacing: 0.01em;
    text-align: left;
  }

  /* 4K */
  @media only screen and (min-width: 2500px) {
    .marketing-main {
      max-width: 2200px;
      gap: 6vw;
      padding-left: 14vw;
      padding-right: 6vw;
      min-height: 75vh;
      padding-top: 1.5vh;
    }
  }

  /* Full HD title size */
  @media only screen and (max-width: 1920px) {
    .marketing-title {
      font-size: 3.57em;
    }
  }

  /* Desktop */
  @media only screen and (max-width: 1800px) {
    .marketing-main {
      max-width: 1400px;
      padding-left: 2vw;
      padding-right: 2vw;
      gap: 5vw;
      padding-top: 1.5vh;
    }
  }
  @media only screen and (max-width: 1400px) {
    .marketing-main {
      max-width: 100vw;
      padding-left: 1vw;
      padding-right: 1vw;
      gap: 3vw;
      padding-top: 1.5vh;
    }
  }

  /* Tablet */
  @media only screen and (max-width: 1200px) {
    .marketing-title {
      font-size: 2.9em;
    }
    .marketing-side {
      max-width: none;
      width: 100%;
      align-items: flex-start;
      text-align: left;
    }
    .marketing-main {
      gap: 2vw;
      padding-top: 1.5vh;
    }
  }

  /* === Základní stylování stránky a formuláře === */
  body {
    font-family: 'Nunito', Arial, sans-serif;
    background: #f4f8fb;
    color: #1a2233;
    margin: 0;
    padding: 0;
    min-height: 100vh;
  }

  #searchForm {
    background: #fff;
    border-radius: 3.2em;
    box-shadow: 0 8px 36px 0 #1664f62a, 0 1.5px 0 #e0e8f6;
    max-width: 660px;
    width: 96vw;
    margin: 0 auto 18px auto;
    padding: 24px 32px 24px 32px;
    box-sizing: border-box;
    position: relative;
    min-height: 0;
    transition: box-shadow 0.22s;
    border: 2.5px solid #e7f0fd;
    animation: floatin 1.1s cubic-bezier(.32,1.32,.12,.98);
  }

  @keyframes floatin {
    0% { transform: translateY(20px) scale(0.97); opacity: 0; }
    100% { transform: none; opacity: 1;}
  }

  .toggle-group {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f1fe;
    border-radius: 2em;
    padding: 6px 6px;
    box-shadow: 0 2px 12px #1664f61a;
    width: max-content;
    margin: 0 auto 18px auto;
    gap: 0;
  }
  .toggle-group input[type="radio"] {
    display: none;
  }
  .toggle-group label {
    position: relative;
    z-index: 2;
    font-weight: 600;
    font-size: 1.13em;
    color: #1664f6;
    background: none;
    padding: 13px 38px;
    border-radius: 2em;
    cursor: pointer;
    border: none;
    transition: color 0.18s;
    user-select: none;
    outline: none;
    min-width: 0;
    text-align: center;
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Nunito', Arial, sans-serif;
  }
  .toggle-group .toggle-bg {
    position: absolute;
    z-index: 1;
    top: 4px;
    left: 0;
    height: calc(100% - 8px);
    background: linear-gradient(90deg,#1664f6 76%,#2c95ff 100%);
    border-radius: 2em;
    box-shadow: 0 4px 16px #1664f62a;
    transition: left 0.32s cubic-bezier(.4,1.4,.3,1), width 0.32s cubic-bezier(.4,1.3,.3,1);
    will-change: left, width;
  }
  .toggle-group label.selected,
  .toggle-group input[type="radio"]:checked + label {
    color: #fff;
  }

  /* SKRÝT "Měsíce" vedle Hodiny/dny */
  #toggleGroup input[name="mode"][value="months"],
  #toggleGroup input[name="mode"][value="mesice"],
  #toggleGroup label[for="mode-months"],
  #toggleGroup label[for="mode-mesice"] {
    display: none !important;
  }
  /* Skrýt i celý měsíční blok polí, pokud existuje */
  #months-fields { display: none !important; }

  .form-fields-wrapper {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-sizing: border-box;
  }

  .form-field {
    position: relative;
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
    justify-content: flex-end;
    box-sizing: border-box;
  }
  .form-field:last-child {
    margin-bottom: 0;
  }
  .form-field label {
    font-size: 0.97em;
    font-weight: 500;
    color: #1664f6;
    margin-bottom: 0;
    margin-left: 0;
    position: absolute;
    top: 8px;
    left: 18px;
    z-index: 10;
    opacity: 0.94;
    pointer-events: auto;
    background: #fff;
    padding: 0 3px;
    transition: opacity 0.15s, color 0.15s;
    letter-spacing: 0.01em;
    user-select: none;
    font-family: 'Nunito', Arial, sans-serif;
    cursor: pointer;
  }

  .form-field input,
  .form-field select,
  .form-field .pretty-date {
    font-family: 'Nunito', Arial, sans-serif;
    font-size: 1.15em;
    font-weight: 600;
    color: #184075;
    box-sizing: border-box;
    width: 100%;
    height: 60px;
    line-height: 60px;
    padding: 14px 18px 0 18px;
    background: transparent;
    border: none;
    outline: none;
    border-radius: 999em;
    box-shadow: none;
    transition: color .16s, border-color .18s, box-shadow .16s;
    margin-bottom: 0;
    vertical-align: middle;
    border: 2.2px solid #e0e8f6;
  }
  .form-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    display: block;
    /* Custom arrow for select */
    background-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%231664f6" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 14 8" width="18" height="8" xmlns="http://www.w3.org/2000/svg"><path d="M1 1l6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right 22px center;
    background-size: 22px 12px;
    padding-right: 54px;
  }
  /* (volitelně) – ponecháno; blok #months-fields je schovaný výše */
  #months-fields .form-field {
    margin-bottom: 16px;
  }
  .form-field input::placeholder {
    color: #b0b8c6;
    opacity: 1;
    font-weight: 500;
    font-size: 1.08em;
    font-family: 'Nunito', Arial, sans-serif;
  }
  .form-field input:focus,
  .form-field select:focus,
  .form-field .pretty-date:focus {
    color: #1664f6;
    border-color: #1664f6;
    box-shadow: 0 0 0 2px #1664f610;
  }

  /* NOVÉ: vzhled pro vizuálně deaktivovaná pole (pokud je JS dočasně vypíná) */
  .form-field .input-disabled,
  .form-field input.input-disabled,
  .form-field select.input-disabled {
    color: #9aa6bd !important;
    border-color: #e6ecf8 !important;
    background: #f8fbff !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
  }

  /* === KALENDÁŘOVÁ POLE (pro desktop) === */
  .form-field .pretty-date {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    border-radius: 999em;
    border: 2.2px solid #e0e8f6;
    padding: 14px 18px 0 18px;
    background: transparent;
    transition: border-color .18s, box-shadow .18s;
    user-select: none;
    font-family: 'Nunito', Arial, sans-serif;
    pointer-events: none;
    font-weight: 700;
    cursor: pointer;
  }
  .form-field .pretty-date:focus,
  .form-field .pretty-date:active {
    border-color: #1664f6;
    box-shadow: 0 0 0 2px #1664f610;
  }
  .form-field .pretty-date * {
    pointer-events: none;
  }
  .form-field label[for] {
    pointer-events: auto;
  }

  .form-field input[type="datetime-local"],
  .form-field input[type="date"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: auto;
    z-index: 10;
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
    cursor: pointer;
    font-family: 'Nunito', Arial, sans-serif;
  }

  /* DATETIME RANGE */
  .datetime-range {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    margin: 10px 0 10px 0;
    width: 100%;
  }
  .datetime-range .form-field {
    margin-bottom: 0;
    flex: 1 1 0;
    max-width: none;
    min-width: 0;
  }
  .datetime-arrow-minimal {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    min-width: 18px;
    margin: 0 1px;
    height: 60px;
  }
  .datetime-arrow-minimal::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 12px;
    background-image: url('data:image/svg+xml;utf8,<svg width="18" height="12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 6h14m0 0l-4-4m4 4l-4 4" stroke="%23b0b8c6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
  }

  /* KALENDÁŘOVÁ IKONA */
  .calendar-icon {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    height: 16px;
    width: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    font-family: 'Nunito', Arial, sans-serif;
    pointer-events: none;
  }
  .calendar-icon::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url('data:image/svg+xml;utf8,<svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4 6l4 4 4-4" stroke="%231664f6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    margin: 0;
  }

  .input-container { 
    position: relative; 
    width: 100%;
    margin: 0 0 16px 0;
    box-sizing: border-box;
  }
  .input-container input[type="text"] {
    height: 60px;
    line-height: 60px;
    padding: 14px 18px 0 18px;
    border: 2.2px solid #e0e8f6;
    background: transparent;
    outline: none;
    font-family: 'Nunito', Arial, sans-serif;
    font-size: 1.15em;
    font-weight: 600;
    color: #184075;
    box-sizing: border-box;
    margin-bottom: 0;
    border-radius: 999em;
    box-shadow: none;
    transition: color .16s, border-color .18s, box-shadow .16s;
    vertical-align: middle;
    position: relative;
    width: 100%;
  }
  .input-container input[type="text"]:focus {
    color: #1664f6;
    border-color: #1664f6;
    box-shadow: 0 0 0 2px #1664f610;
  }

  #suggestions {
    max-height: 220px;
    overflow-y: auto;
    background: #fff;
    position: absolute;
    width: 100%;
    z-index: 1000;
    left: 0;
    top: 100%;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 32px #1664f62e, 0 1.5px 0 #e0e8f6;
    animation: floatin 0.5s cubic-bezier(.38,1.1,.12,.98);
    font-family: 'Nunito', Arial, sans-serif;
  }
  #suggestions div,
  #suggestions .suggestion_item {
    padding: 13px 28px;
    border-bottom: 1px solid #f6f6fa;
    cursor: pointer;
    font-size: 1.12em;
    font-weight: 600;
    transition: background 0.13s, color 0.13s, padding 0.13s;
    border-radius: 0;
    background: none;
    font-family: 'Nunito', Arial, sans-serif;
  }
  #suggestions div:last-child,
  #suggestions .suggestion_item:last-child { border-bottom: none;}
  #suggestions div:hover,
  #suggestions div:focus,
  #suggestions .suggestion_item:hover,
  #suggestions .suggestion_item:focus {
    background: #e3f0ff;
    color: #1664f6;
    padding-left: 34px;
  }

  #searchForm button[type="submit"],
  #searchForm button {
    margin-top: 18px;
    padding: 15px 0;
    width: 100%;
    background: #1664f6;
    color: #fff;
    font-size: 1.18em;
    border: none;
    border-radius: 999em;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    box-shadow: 0 4px 18px #1664f62b;
    letter-spacing: 0.01em;
    font-family: 'Nunito', Arial, sans-serif;
    outline: none;
    position: relative;
    overflow: hidden;
    display: block;
  }
  #searchForm button[type="submit"]:hover,
  #searchForm button:hover {
    background: #111;
    color: #fff;
    box-shadow: 0 8px 32px #1664f64a;
  }
  #searchForm button[type="submit"]:active,
  #searchForm button:active {
    background: #1664f6;
    color: #fff;
    box-shadow: 0 2px 6px #1664f63a;
  }

  .formatted-date {
    display: none !important;
  }

  .form-separator {
    width: 100%;
    height: 0;
    border: none;
    border-bottom: 2px solid #e0e8f6;
    margin: 18px 0 12px 0;
    background: none;
  }

  /* === KALENDÁŘOVÝ POPUP POD INPUTEM (pouze desktop) === */
  .calendar-popup {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-width: 380px;
    background: #fff;
    box-shadow: 0 8px 32px #1664f62e, 0 1.5px 0 #e0e8f6;
    border-radius: 1em;
    z-index: 100;
    margin-top: 2px;
    animation: floatin 0.3s cubic-bezier(.38,1.1,.12,.98);
    display: none;
  }
  .calendar-popup.active {
    display: block;
  }
  .calendar-popup table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0;
  }
  .calendar-popup th, .calendar-popup td {
    text-align: center;
    padding: 6px;
    cursor: pointer;
    border-radius: 0.4em;
    font-family: 'Nunito', Arial, sans-serif;
    font-size: 1em;
  }
  .calendar-popup th {
    color: #1664f6;
    font-weight: 800;
    background: #e8f1fe;
  }
  .calendar-popup td:hover {
    background: #e3f0ff;
  }
  .calendar-popup .close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    cursor: pointer;
    font-size: 1.2em;
    color: #888;
    background: none;
    border: none;
    outline: none;
  }

  /* === MODAL PICKER (PC styl) === */
  .modal-picker {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(20, 40, 80, 0.28);
    backdrop-filter: blur(2px);
  }
  .modal-picker[style*="display: flex"] {
    display: flex !important;
  }
  .modal-picker-content {
    background: #fff;
    border-radius: 1.2em;
    padding: 42px 54px 36px 54px;
    box-shadow: 0 16px 64px #1664f640, 0 2px 0 #e0e8f6;
    min-width: 420px;
    max-width: 540px;
    min-height: 260px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    animation: floatin 0.5s cubic-bezier(.38,1.1,.12,.98);
    font-family: 'Nunito', Arial, sans-serif;
  }

  .calendar-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.18em;
    font-weight: 800;
    margin-bottom: 26px;
    min-height: 48px;
    color: #184075;
    letter-spacing: 0.01em;
    border-bottom: 1.5px solid #f1f3fa;
    padding-bottom: 8px;
  }
  .modal-picker-close {
    color: #1664f6;
    cursor: pointer;
    font-weight: 700;
    opacity: 0.85;
    transition: color 0.13s;
    font-size: 1.18em;
    padding: 5px 10px;
    border-radius: 999em;
  }
  .modal-picker-close:hover {
    color: #0d3eb1;
    opacity: 1;
    background: #e3f0ff;
  }
  .calendar-modal-month-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    font-size: 1.13em;
    font-weight: 700;
    padding: 18px 0 10px 0;
    margin-bottom: 10px;
    user-select: none;
    color: #184075;
  }
  .calendar-modal-month-nav span {
    cursor: pointer;
    user-select: none;
    padding: 0 14px;
    border-radius: 999em;
    transition: color 0.14s, background 0.14s;
  }
  .calendar-modal-month-nav span:hover {
    color: #fff;
    background: #1664f6;
  }
  .calendar-modal-days-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 4px;
    color: #9199ac;
    font-size: 1.02em;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.01em;
  }
  .calendar-modal-date-selected {
    font-size: 1.13em;
    font-weight: 800;
    color: #1664f6;
    margin: 12px 0 12px 0;
    text-align: center;
    letter-spacing: 0.01em;
    min-height: 32px;
  }
  .calendar-modal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 14px;
    min-width: 284px;
  }
  .calendar-modal-grid-day {
    background: #e8f1fe;
    border-radius: 999em;
    font-size: 1.13em;
    text-align: center;
    padding: 10px 0;
    min-width: 40px;
    min-height: 40px;
    cursor: pointer;
    transition: background 0.13s, color 0.13s;
    font-weight: 800;
    color: #1664f6;
    border: none;
    outline: none;
    position: relative;
    z-index: 1;
    margin: 0;
    box-sizing: border-box;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .calendar-modal-grid-day.today {
    background: #d1e5fe;
    color: #1664f6;
    box-shadow: 0 0 0 2px #1664f6a5;
    font-weight: 900;
  }
  .calendar-modal-grid-day.selected {
    background: #1664f6;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 4px 14px #1664f64a;
  }
  .calendar-modal-grid-day:hover {
    background: #2c95ff;
    color: #fff;
  }
  .calendar-modal-time-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 18px;
    gap: 14px;
    width: 100%;
    max-width: 410px;
  }
  .calendar-modal-time-select {
    width: 100%;
    font-size: 1.18em;
    padding: 14px 22px;
    border-radius: 999em;
    border: 2.5px solid #e0e8f6;
    background: #f6fafd;
    font-family: 'Nunito', Arial, sans-serif;
    font-weight: 800;
    color: #184075;
    outline: none;
    margin-bottom: 2px;
    transition: border-color 0.17s;
    /* Custom arrow for select */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%231664f6" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 14 8" width="18" height="8" xmlns="http://www.w3.org/2000/svg"><path d="M1 1l6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 22px 12px;
    padding-right: 54px;
  }
  .calendar-modal-time-select:focus {
    border-color: #1664f6;
  }
  .calendar-modal-btn-done {
    padding: 16px 0;
    border: none;
    border-radius: 999em;
    background: #1664f6;
    color: #fff;
    font-weight: 900;
    font-size: 1.19em;
    cursor: pointer;
    margin-top: 14px;
    width: 100%;
    box-shadow: 0 4px 18px #1664f62b;
    transition: background 0.17s, color 0.17s;
    letter-spacing: 0.01em;
    font-family: 'Nunito', Arial, sans-serif;
  }
  .calendar-modal-btn-done:hover {
    background: #0d3eb1;
    color: #fff;
  }
  .modal-picker-datetime {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    margin-bottom: 10px;
    width: 100%;
  }
  .modal-pretty {
    font-size: 1.13em;
    color: #1664f6;
    font-weight: 800;
    margin-bottom: 10px;
    text-align: left;
    letter-spacing: 0.01em;
  }
  .modal-picker-btns {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
    margin-top: 18px;
    width: 100%;
  }
  .modal-picker-btn {
    padding: 13px 32px;
    border-radius: 999em;
    border: none;
    background: #1664f6;
    color: #fff;
    font-weight: 900;
    font-size: 1.13em;
    cursor: pointer;
    transition: background 0.17s, color 0.17s;
    font-family: 'Nunito', Arial, sans-serif;
    outline: none;
    position: relative;
  }
  .modal-picker-btn.cancel {
    background: #e0e8f6;
    color: #184075;
  }
  .modal-picker-btn.cancel:hover {
    background: #bfc9e4;
    color: #184075;
  }
  .modal-picker-btn:not(.cancel):hover {
    background: #0d3eb1;
    color: #fff;
  }

  /* === ÚPRAVA: Styl pro dropdown s lokacemi v modal pickeru === */
  #modal-location-suggestions {
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: none !important;
    margin-top: -8px;
    padding-bottom: 4px;
    z-index: 1001;
    position: relative;
    font-family: 'Nunito', Arial, sans-serif;
  }
  #modal-location-suggestions div {
    padding: 13px 28px;
    border-bottom: 1px solid #ececec;
    cursor: pointer;
    font-size: 1.12em;
    font-weight: 600;
    transition: background 0.13s, color 0.13s, padding 0.13s;
    border-radius: 0;
    background: none;
    font-family: 'Nunito', Arial, sans-serif;
  }
  #modal-location-suggestions div:last-child {
    border-bottom: none;
  }
  #modal-location-suggestions div:hover,
  #modal-location-suggestions div:focus {
    background: #e3f0ff;
    color: #1664f6;
    padding-left: 34px;
  }
}

/* Mobile modal tweaks */
@media (max-width: 500px) {
  .calendar-modal-header {
    font-size: 1.07em;
    height: 46px;
  }
  .calendar-modal-header > span:first-child,
  .calendar-modal-header > span:last-child,
  .calendar-modal-header > .modal-picker-close {
    line-height: 46px;
    font-size: 0.98em;
    padding-left: 13px;
    padding-right: 11px;
  }
  .calendar-modal-month-nav {
    font-size: 0.98em;
    gap: 8px;
  }
  .calendar-modal-days-row > div {
    width: 12vw;
    min-width: 13px;
    font-size: 11px;
    padding: 0 0.5px;
  }
  .calendar-modal-grid-day {
    width: 22px;
    height: 22px;
    font-size: 0.92em;
  }
  .calendar-modal-time-wrap,
  .calendar-modal-time-select,
  .calendar-modal-btn-done {
    max-width: 96vw !important;
  }
  /* ÚPRAVA: Styl pro dropdown s lokacemi v modal pickeru na mobile */
  #modal-location-suggestions {
    max-width: 98vw !important;
    font-size: 1em;
    border-radius: 0 0 8px 8px;
  }
  #modal-location-suggestions div {
    font-size: 1em;
    padding: 11px 18px;
  }
  #modal-location-suggestions:empty {
    display: none !important;
  }
}