/*
 * Serenity UK booking widget - stylesheet.
 * All visual styling lives here. The markup and behaviour (serenity-uk-widget.js)
 * never set inline styles, so this file can be replaced or overridden freely.
 *
 * Quick theming: override the custom properties below, either in this file
 * or from your own stylesheet, e.g.
 *
 *   .sw-widget { --sw-accent: #0a7d6c; --sw-radius: 0; }
 */

select.sw-widget__select {
    border-style: none !important;
}
select.sw-widget__select {
    padding-left: 16px;
}

.sw-widget {
  --sw-font: inherit;
  --sw-bg: transparent;
  --sw-text: #2b2b2b;
  --sw-label: #7a7a7a;
  --sw-border: #d9d9d9;
  --sw-accent: #00adbb;
  --sw-accent-text: #ffffff;
  --sw-accent-hover: #ffffff;
  --sw-tab-bg: #f2f2f2;
  --sw-tab-text: #cccccc;
  --sw-error: #b3261e;
  --sw-radius: 20px;
  --sw-gap: 10px;
  --sw-field-height: 52px;
  --sw-btn-height: 42px;

  font-family: var(--sw-font);
  color: var(--sw-text);
  background: var(--sw-bg);
  border-radius: var(--sw-radius);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  padding: var(--sw-gap);
  max-width: 1080px;
  box-sizing: border-box;
}

.sw-widget *,
.sw-widget *::before,
.sw-widget *::after {
  box-sizing: border-box;
}

/* Tabs */

.sw-widget__tabs {
  display: flex;
  gap: 4px;
  margin-bottom: var(--sw-gap);
  justify-content: center;
}

.sw-widget__tab {
  appearance: none;
  border: 1px solid;
  background: var(--sw-tab-bg);
  color: var(--sw-tab-text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: var(--sw-radius) var(--sw-radius) 0 0;
  cursor: pointer;
  border-radius: 20px !important;
}

.sw-widget__tab[aria-selected="true"] {
  background: var(--sw-accent);
  color: var(--sw-accent-text);
}

/* Form layout */

.sw-widget__form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sw-gap);
  align-items: stretch;
  margin: 0;
}

.sw-widget__field {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 1 150px;
  min-width: 130px;
  height: var(--sw-field-height);
  border: 0px solid var(--sw-border);
  border-radius: var(--sw-radius);
  background: var(--sw-bg);
  padding: 4px 0px 6px;
  font-weight: 400;
}

.sw-widget--hotel-only .sw-widget__field--airport {
  display: none;
}

.sw-widget__label {
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--sw-label);
  pointer-events: none;
}

.sw-widget__select,
.sw-widget__date {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: #ffffff;
  font: inherit;
  font-size: 12px !important;
  color: var(--sw-text);
  width: 100%;
  padding: 0;
  outline: none;
  font-weight: 400 !important;
  border-radius: 20px !important;
}

.sw-widget__field:focus-within {
  border-color: var(--sw-accent);
}

.sw-widget__nights {
  flex: 0 0 auto;
  align-self: center;
  font-size: 12px;
  color: #ffffff;
  min-width: 60px;
  text-align: center;
  font-weight: 400;
}

/* Button */

.sw-widget__button {
  appearance: none;
  border: none;
  flex: 1 1 140px;
  min-width: 140px;
  height: var(--sw-btn-height);
  background: var(--sw-accent-text);
  color: var(--sw-accent);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--sw-radius);
  cursor: pointer;
  transition: background 0.15s ease;
}

.sw-widget__button:hover,
.sw-widget__button:focus-visible {
  background: var(--sw-accent-hover);
}

/* Error message */

.sw-widget__error {
  margin: 8px 2px 0;
  font-size: 13px;
  color: var(--sw-error);
}

.sw-widget__error[hidden] {
  display: none;
}

/* Small screens: stack fields */

@media (max-width: 700px) {
  .sw-widget__form {
    flex-direction: column;
  }

  .sw-widget__field,
  .sw-widget__button {
    flex: 1 1 auto;
    width: 100%;
  }

  .sw-widget__nights {
    text-align: left;
    padding-left: 2px;
  }
}