@font-face {
  font-family: "GL Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/gl-inter/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "GL Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/gl-inter/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Login card (pages + modals) ---- */

.gl-auth {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  padding: 48px 16px;
}

.gl-card {
  width: 100%;
  max-width: 476px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -12px rgba(0, 0, 0, 0.18);
  padding: 40px;
  color: #303030;
  font-family: "GL Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-align: left;
}

.gl-card *,
.gl-card *::before,
.gl-card *::after {
  box-sizing: border-box;
}

.gl-card .gl-title {
  font-family: inherit;
  font-size: 24px !important;
  font-weight: 700 !important;
  line-height: 32px !important;
  letter-spacing: -0.01em;
  color: #303030 !important;
  margin: 0 0 4px !important;
  text-align: left !important;
}

.gl-card .gl-subtitle {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #616161;
  margin: 0 0 24px;
}

.gl-card .gl-field {
  margin-bottom: 16px;
}

.gl-card .gl-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.gl-card .gl-label {
  display: block;
  font-size: 14px !important;
  font-weight: 500;
  line-height: 20px;
  color: #303030;
  margin: 0 0 6px;
  position: static !important;
}

.gl-card .gl-label-row .gl-label {
  margin: 0;
}

.gl-card .form-group {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  width: 100%;
  max-width: 100%;
  flex: none;
}

.gl-card .input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.gl-card .form-control {
  width: 100% !important;
  height: 44px !important;
  padding: 10px 14px !important;
  font-family: inherit;
  font-size: 15px !important;
  font-weight: 400;
  line-height: 22px;
  color: #303030 !important;
  background: #f3f3f3 !important;
  border: 1px solid #e3e3e3 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.gl-card .form-control::placeholder {
  color: #8a8a8a;
}

.gl-card .form-control:hover {
  border-color: #cccccc !important;
}

.gl-card .form-control:focus {
  outline: none !important;
  background: #f3f3f3 !important;
  border-color: #005bd3 !important;
  box-shadow: 0 0 0 1px #005bd3, 0 0 0 4px rgba(0, 91, 211, 0.12) !important;
}

.gl-card .form-control.is-invalid {
  border-color: #d72c0d !important;
  background: #fff4f4 !important;
  background-image: none !important;
}

.gl-card .invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 6px;
  font-size: 13px;
  line-height: 18px;
  color: #d72c0d;
}

.gl-card .invalid-feedback strong {
  font-weight: 500;
}

.gl-card .gl-password .form-control {
  padding-right: 48px !important;
}

.gl-card .gl-password .input-group-append {
  position: absolute;
  top: 0;
  right: 0;
  height: 44px;
  display: flex;
  align-items: center;
  margin: 0;
  z-index: 3;
}

.gl-card .gl-eye {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0 !important;
  border: 0;
  background: transparent !important;
  color: #616161 !important;
  cursor: pointer;
  border-radius: 8px;
}

.gl-card .gl-eye:hover {
  color: #303030 !important;
}

.gl-card .gl-eye:focus,
.gl-card .gl-eye:active {
  outline: none !important;
  box-shadow: none !important;
}

.gl-card .gl-eye svg {
  width: 18px;
  height: 18px;
}

.gl-card .gl-forgot {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.gl-card .gl-link,
.gl-card a.gl-link {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #005bd3 !important;
  text-decoration: none !important;
  background: none;
  border: 0;
  padding: 0;
}

.gl-card .gl-link:hover,
.gl-card a.gl-link:hover {
  color: #004299 !important;
  text-decoration: underline !important;
}

.gl-card .gl-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  margin: 8px 0 0 !important;
  padding: 0 16px !important;
  font-family: inherit;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 20px;
  border-radius: 8px !important;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  transition: filter 0.15s ease, transform 0.05s ease;
}

.gl-card .gl-btn-primary:hover {
  filter: brightness(1.08);
}

.gl-card .gl-btn-primary:active {
  transform: translateY(1px);
}

.gl-card .gl-btn-primary:focus,
.gl-card .gl-btn-primary:active {
  outline: none !important;
}

.gl-card .gl-btn-primary[disabled] {
  opacity: 0.65;
  cursor: progress;
}

.gl-card .gl-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px 32px;
  font-size: 14px;
  line-height: 20px;
  color: #616161;
}

.gl-card .gl-divider::before,
.gl-card .gl-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e3e3e3;
}

.gl-card .gl-social {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gl-card .gl-social-btn,
.gl-card a.gl-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  background: #f1f1f1 !important;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #303030 !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease;
}

.gl-card .gl-social-btn:hover,
.gl-card a.gl-social-btn:hover {
  background: #e3e3e3 !important;
}

.gl-card .gl-social-btn:focus-visible {
  outline: 2px solid #005bd3;
  outline-offset: 2px;
}

.gl-card .gl-social-btn svg {
  width: 20px;
  height: 20px;
}

.gl-card .gl-footer {
  margin: 28px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: #303030;
}

.gl-card .gl-footer .gl-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.gl-card .gl-footer .gl-link svg {
  width: 14px;
  height: 14px;
}

.gl-card .gl-alert {
  margin: 0 0 16px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 20px;
  color: #8e1f0b;
  background: #fee9e8;
  border: 1px solid #fcc5c0;
  border-radius: 8px;
}

.gl-card .gl-alert.booking-login-error {
  display: none;
}

.gl-modal .modal-dialog {
  max-width: 476px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 12px;
}

.gl-modal .modal-content {
  background: transparent;
  border: 0;
  border-radius: 20px;
  box-shadow: none;
}

.gl-modal .modal-body {
  padding: 0;
}

.gl-modal .gl-card {
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.35);
}

@media (max-width: 575.98px) {
  .gl-auth {
    padding: 24px 12px;
  }

  .gl-card {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .gl-card .gl-divider {
    margin: 18px 12px;
  }
}

.gl-card .gl-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.gl-card .gl-actions .gl-btn-primary {
  margin: 0 !important;
}

.gl-card .gl-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  color: #303030 !important;
  background: #f1f1f1 !important;
  border: 1px solid #e3e3e3 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.gl-card .gl-btn-secondary:hover {
  background: #e3e3e3 !important;
}

.gl-card .gl-btn-secondary:focus,
.gl-card .gl-btn-secondary:active {
  outline: none !important;
}

.gl-card .gl-back,
.gl-card a.gl-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: -8px 0 16px -8px;
  border-radius: 8px;
  color: #303030 !important;
  text-decoration: none !important;
}

.gl-card .gl-back:hover {
  background: #f1f1f1;
}

.gl-card .gl-back svg {
  width: 18px;
  height: 18px;
}

.gl-card .gl-powered {
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 18px;
  color: #616161;
  text-align: center;
}

.gl-card .gl-powered a {
  color: #303030 !important;
  font-weight: 600;
  text-decoration: none !important;
}

.gl-card .gl-subtitle b {
  color: #303030;
  font-weight: 600;
}

.gl-card .gl-eye::before,
.gl-card .gl-eye::after {
  content: none !important;
  display: none !important;
}

.gl-card form {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.gl-card .alert {
  margin: 0 0 16px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 20px;
  border-radius: 8px;
  text-align: left;
}
