:root {
  --os-primary: #ffc700; /* bold color */
  --os-secondary: #000000; /* text color */
  --os-accent: #ccc; /* border color */
  --os-light: #ffffff; /* background color */
  --os-error-color: #ff0000; /* error color */
}
.os_wrapper {
  max-width: 100% !important;
  position: relative;
  margin-bottom: 50px;
}
.os_login {
  max-width: 400px !important;
  margin: 0 auto !important;
}
.os_register {
  max-width: 700px !important;
  margin: 0 auto !important;
}
.os_application,
.os_profile {
  max-width: 1200px !important;
  margin: 0 auto 100px auto !important;
}
.os_box {
  padding: 30px 20px;
  background: var(--os-light);
  border: 1px solid var(--os-secondary);
  margin-bottom: 20px;
}
.os-form-errors {
  background: #ffbaba;
  border: 1px solid var(--os-error-color);
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 4px;
  color: var(--os-secondary);
}
.os_wrapper .tab-error-count {
  background-color: var(--os-error-color);
  padding: 2px;
  border-radius: 50%;
  font-size: 13px;
  width: 20px;
  height: 20px;
  display: inline-block;
  color: var(--os-light);
}
.os_wrapper .has-error {
  border-color: var(--os-error-color) !important;
}
.os_box form p {
  margin-bottom: 15px;
}
.os_profile .os_box p {
  margin-bottom: 10px;
}
.os_profile .os_box p:last-of-type {
  margin-bottom: 20px;
}
.os-payment-form,
.os-bank-instructions {
  padding: 20px;
  border: 1px solid var(--os-accent);
  border-radius: 4px;
  width: fit-content;
  background-color: #f5f5f5;
}
.os-payment-form .os-payment-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.os-payment-form .os-payment-methods p {
  margin-bottom: 0px !important;
}

.os-payment-form .os-payment-option {
  display: block;
  border: 1px solid var(--os-accent);
  border-radius: 4px;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  opacity: 0.6;
}

.os-payment-form .os-payment-option input {
  width: 18px;
  flex-shrink: 0;
  accent-color: var(--os-primary);
}

.os-payment-form .os-payment-option:hover {
  border-color: var(--os-secondary);
}

.os-payment-form .os-payment-form .os-payment-option input:checked ~ .os-payment-content {
  color: var(--os-secondary);
}

.os-payment-form .os-payment-option:has(input:checked) {
  border-color: var(--os-secondary);
  background: var(--os-light);
  opacity: 1;
}

.os-payment-form .os-payment-name {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  font-weight: 600;
}
.os-payment-form .os-payment-option {
  display: flex;
  gap: 10px;
}
.os-payment-form .os-payment-description {
  display: block;
  font-size: 14px;
}

.os_field {
  margin-bottom: 15px;
  display: grid;
  grid-template-columns: 1fr 3fr 2fr;
  grid-gap: 15px;
}
.os_instructions {
  font-size: 0.8em;
  color: var(--os-secondary);
}
.os_box input[type="color"],
.os_box input[type="date"],
.os_box input[type="datetime-local"],
.os_box input[type="datetime"],
.os_box input[type="email"],
.os_box input[type="month"],
.os_box input[type="number"],
.os_box input[type="password"],
.os_box input[type="search"],
.os_box input[type="tel"],
.os_box input[type="text"],
.os_box input[type="time"],
.os_box input[type="url"],
.os_box input[type="week"],
.os_box input[type="checkbox"],
.os_box select,
.os_box textarea {
  accent-color: var(--os-primary);
  color: var(--os-secondary);
}
.os_box input[type="checkbox"],
.os-field-wrapper input[type="checkbox"],
.os-field-wrapper input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--os-primary);
}
.os_box label,
.os_box .os-field-label,
.os_box legend {
  color: var(--os-secondary);
  font-size: 16px;
  margin-bottom: 0;
}
.os_box label {
  display: block;
  position: relative;
}
.os_profile_tabs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  border-bottom: 1px solid var(--os-accent);
}

.os_profile_tabs a {
  display: block;
  padding: 10px 15px;
  margin: 0px 5px;
  text-decoration: none;
  color: #000;
  border: 1px solid var(--os-accent);
  margin-bottom: -1px;
  background: var(--os-light);
  transition: background 0.1s ease-in-out;
}

.os_profile_tabs a.os_active {
  background: var(--os-light);
  border-bottom: 1px solid var(--os-light);
}

.os_profile_tabs a.os_disable_tab {
  pointer-events: none;
  opacity: 0.4;
}

.os_profile_tab_content {
  padding: 30px 15px;
  background: var(--os-light);
  border: 1px solid var(--os-accent);
  border-top: 0;
  overflow: hidden;
  display: grid;
}

.os_profile_tab_content > div {
  grid-row-start: 1;
  grid-column-start: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity 2s ease-in-out;
  z-index: -100;
  position: relative;
}

.os_profile_tab_content > div.os_disable_tab {
  pointer-events: none !important;
  opacity: 0.4 !important;
}

.os_profile_tab_content > div.os_active {
  opacity: 1;
  pointer-events: auto;
  z-index: 100;
}

.os_profile_tab_content > div.os_active:after {
  content: "Saving...";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: var(--os-light);
  color: var(--os-secondary);
  text-align: center;
  padding-top: 80px;
  box-sizing: border-box;
  animation: os_saving 2s normal forwards;
  -webkit-animation: os_saving 2s normal forwards;
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
}

.os_profile_tab_content > div:first-child.os_active:after {
  animation: os_saving 0s normal forwards;
}

.os_wrapper input[type="text"],
.os_wrapper input[type="number"],
.os_wrapper input[type="email"],
.os_wrapper input[type="url"],
.os_wrapper input[type="password"],
.os_wrapper input[type="search"],
.os_wrapper input[type="reset"],
.os_wrapper input[type="tel"],
.os_wrapper input[type="date"],
.os_wrapper fieldset,
.os_wrapper select,
.os_wrapper textarea {
  display: block;
  border-color: var(--os-accent);
  background-color: var(--os-light);
}
/* Reduce opacity for disabled inputs and their wrapper */
.os-field-wrapper input:disabled,
.os-field-wrapper select:disabled,
.os-field-wrapper textarea:disabled,
.os-field-wrapper .os_map_grid.is-locked,
.os-field-wrapper fieldset:has(input:disabled) {
  opacity: 0.5; /* visually "greyed out" */
  cursor: not-allowed; /* show forbidden cursor */
}
.os_wrapper .button[disabled],
.os_wrapper button[disabled],
.os_wrapper input[disabled] {
  cursor: not-allowed !important;
  opacity: 0.5;
}
/* Optionally style labels to match */
.os-field-wrapper input:disabled + label,
.os-field-wrapper select:disabled + label,
.os-field-wrapper textarea:disabled + label {
  color: #666;
}
.os-field-wrapper fieldset {
  padding: 7px 20px;
}
.os-field-wrapper fieldset legend {
  margin-bottom: 0;
}
/* Special case for checkboxes / radios */
.os-field-wrapper input[type="checkbox"]:disabled,
.os-field-wrapper input[type="radio"]:disabled {
  cursor: not-allowed;
}
.has-error {
  border-color: var(--os-error-color);
}

.os-field-error {
  color: var(--os-error-color);
  font-size: 13px;
  margin-top: 4px;
}

.os-field-wrapper .os-description {
  margin: 7px 0;
  font-size: 16px;
  line-height: 1.1;
}

@keyframes os_saving {
  0% {
    opacity: 0;
  }
  2% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.os_profile_buttons {
  display: flex;
  position: absolute;
  z-index: 1000;
  margin-top: 20px;
  right: 20px;
  gap: 5px;
}

.os_profile_buttons button[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.os_field {
  margin-bottom: 15px;
  display: grid;
  grid-template-columns: 1fr 3fr 2fr;
  grid-gap: 15px;
}

.os_instructions {
  position: relative;
}

.os_instructions .os_instructions_panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--os-light);
  border: 1px solid var(--os-accent);
  border-radius: 4px;
  padding: 20px;
  z-index: 1000;
  font-size: 0.8em;
  color: #999;
}

.os_instructions.os-open .os_instructions_panel {
  display: block;
}

.os_instructions .os_instructions_toggle {
  width: 20px;
  line-height: 20px;
  background: var(--os-accent);
  color: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 50%;
  text-align: center;
}

.os_instructions .os_instructions_toggle:after {
  color: var(--os-secondary);
  content: "i";
}

.os_instructions.os-open .os_instructions_toggle:after {
  content: "x";
}

.os_profile_title {
  margin: 0 0 15px 0;
}

.os_profile_intro {
  margin: 0 0 40px 0;
}

.os-map-view {
  max-width: 100% !important;
}

.os-map-view #os_map_large {
  width: 100%;
  height: 60vh;
  margin-top: 20px;
}

.os-payment-type label,
.os-payment-method label {
  display: block;
  background: var(--os-light);
  border: 2px solid var(--os-light);
  padding: 20px;
  transition: all 0.1s ease-in-out;
  cursor: pointer;
  opacity: 0.6;
}

.os-payment-type.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.os-payment-type label h4,
.os-payment-method label h4 {
  margin: 0 0 10px 0;
}

.os-payment-type label h4 span {
  float: right;
}

.os-payment-type input[type="radio"],
.os-payment-method input[type="radio"] {
  display: none;
}

.os-payment-type input[type="radio"]:checked + label,
.os-payment-method input[type="radio"]:checked + label {
  border-color: var(--os-accent);
  background: var(--os-light);
  opacity: 1;
}

.os_field {
  margin-bottom: 15px;
  display: grid;
  grid-template-columns: 1fr 3fr;
  grid-gap: 15px;
}
.os_box select {
  width: auto;
  max-width: 100%;
}
.os_box .os-block {
  display: block;
  margin-bottom: 5px;
}
.os_instructions {
  font-size: 0.8em;
  color: #999;
}

.os_field .os_instructions {
  grid-column: 2;
}

.os_error {
  border: 1px solid var(--os-error-color);
  padding: 10px;
  margin-bottom: 10px;
}
.os_error p {
  margin-bottom: 5px;
}

.os_field.os_error {
  position: relative;
  scroll-margin-top: 40px;
}

.os_field.os_error input,
.os_field.os_error select,
.os_field.os_error textarea,
.os_map_field.os_error input,
.os_map_field.os_error select,
.os_map_field.os_error textarea {
  border: 1px solid var(--os-error-color);
}

.os_field.os_error label,
.os_map_field.os_error label {
  color: var(--os-error-color);
}

.os_password_error {
  color: var(--os-error-color);
}

.os_login input,
.os_login select {
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 0px;
}

.os_signup {
  max-width: 600px;
  margin: 0 auto;
}
.os_signup input,
.os_signup select {
  box-sizing: border-box;
  max-width: 60%;
  width: 100%;
}
.os_signup label {
  display: block;
}

.os_signup_field {
  margin-bottom: 20px;
}

.os_box_header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 30px;
  justify-content: space-between;
}
.os_box_header h1 {
  margin-bottom: 10px;
}
.os_box_header p:last-child {
  margin: 0;
}
.os_msg {
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--os-primary);
}
.os_msg.os_login {
  background-color: var(--os-light);
  max-width: 600px !important;
  margin: 20px auto !important;
}
.os-filter {
  position: relative;
  background: var(--os-light);
}

.os-filter-label {
  padding: 5px 10px;
  cursor: pointer;
}

.os-filter-label:after {
  content: "▼";
  float: right;
  margin-left: 3px;
}

.os-filter.os-open .os-filter-label:after {
  content: "▲";
}

.os-filter-holder {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  transform: scaleY(0);
  transform-origin: top;
  transition: all 0.1s ease-in-out;
  background: var(--os-light);
}

.os-filter.os-open .os-filter-holder {
  opacity: 1;
  pointer-events: auto;
  transform: scaleY(1);
  transform-origin: top;
  z-index: 9000;
}

.os-filter-holder input[type="checkbox"] {
  display: none;
}

.os-filter-holder label {
  display: block;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
  border-bottom: 1px solid var(--os-accent);
}

.os-filter-holder input[type="checkbox"]:checked + label {
  color: #fff;
  background: #000;
}

.os-filter-actions {
  padding: 5px 10px;
}

.os-filter-actions a {
  float: right;
  font-size: 0.8em;
}

.os-transaction-table {
  width: 100%;
  border-collapse: collapse;
}

.os-transaction-table th {
  text-align: left;
  width: 20%;
}
.os-transaction-table th,
.os-transaction-table td {
  padding: 5px 10px;
}

.os_preview img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: center;
}

.os_tandc_label {
  display: block;
  margin: 40px 0;
}

.os_tandc_label.os_error,
.os_tandc_label.os_error a {
  color: var(--os-error-color);
}

.os-payment-box {
  background: var(--os-light);
  padding: 20px 20px 40px 20px;
}

.os_studio_dates_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.os_studio_dates_table th {
  text-align: left;
  padding: 5px;
  border-bottom: 1px solid var(--os-accent);
}

.os_studio_dates_table tr:nth-child(even) {
  background-color: var(--os-light);
}

.os_date_wrapper {
  background: var(--os-light);
  padding: 20px;
}

.os-date-options,
.os-date-checkbox {
  flex-basis: 50%;
}

.os_studio_time_grid {
  display: flex;
  grid-gap: 10px;
}

#os_studio_dates_form select {
  margin-bottom: 10px;
}

#os_studio_dates_form select option:disabled {
  color: #bbbbbb;
}

.os_studio_dates_label {
  font-weight: bold;
  margin-bottom: 10px;
}

.os-tab-buttons {
  list-style: none;
  padding: 0 !important;
  display: flex;
  gap: 10px;
  margin: 0 !important;
}

.os-tab-buttons li {
  display: flex;
}

.os-tab-buttons button {
  padding: 0.5em 1em;
  cursor: pointer;
  border-radius: 0 !important;
  color: var(--os-secondary);
  background-color: var(--os-primary);
  border: 1px solid var(--os-primary);
  border-bottom-color: var(--os-secondary);
  margin-bottom: -1px;
  box-shadow: none !important;
  transition: all 0.2s;
}
.os-tab-buttons button:hover {
  background-color: var(--os-secondary);
  color: var(--os-light);
  border-color: var(--os-secondary);
}
.os-tab-buttons button.active {
  background-color: var(--os-light);
  color: var(--os-secondary);
  border-color: var(--os-secondary);
  border-bottom-color: var(--os-light);
}
.os_wrapper .button {
  cursor: pointer !important;
}
.os_msg.os_error p:last-child {
  margin-bottom: 0;
}
.os_wrapper .button.button-primary {
  text-decoration: none !important;
  background-color: var(--os-secondary);
  border-color: var(--os-secondary);
  color: var(--os-light);
  transition: all 0.2s;
}
.os_wrapper .button.button-primary:hover {
  background-color: var(--os-primary);
  border-color: var(--os-primary);
  color: var(--os-secondary);
}
.os_wrapper .button.button-secondary {
  text-decoration: none !important;
  background-color: var(--os-primary);
  border-color: var(--os-primary);
  color: var(--os-secondary);
  transition: all 0.2s;
}
.os_wrapper .button.button-secondary:hover {
  background-color: var(--os-secondary);
  border-color: var(--os-secondary);
  color: var(--os-light);
}
.button-search {
  background: transparent;
  border: none;
  outline: none;
  font-size: 20px;
  background-color: var(--os-secondary);
  border-color: var(--os-secondary);
  text-decoration: none !important;
  transition: all 0.2s;
  color: var(--os-light);
  display: inline;
}
.button-search:hover {
  background-color: var(--os-primary);
  border-color: var(--os-primary);
  color: var(--os-secondary);
}
.os-tab-panel {
  display: none;
  margin-bottom: 2em;
}

.os-tab-panel.active {
  display: block;
}

.os-field-wrapper {
  margin-bottom: 20px;
  position: relative;
}

.os-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.os-form-actions button {
  margin-right: 10px;
  margin-bottom: 5px;
}
.os-application-form .os-date-row {
  display: flex;
  gap: 20px;
  min-height: 50px;
  align-items: center;
  border-bottom: 1px solid var(--os-accent);
  padding: 8px 0;
  flex-wrap: wrap;
}
.os-application-form .os-date-times {
  display: flex;
  gap: 10px;
  align-items: center;
}
.os-application-form .os-date-checkbox {
  flex: 1;
}
.os-application-form .os-dates-list {
  max-width: 900px;
  margin-bottom: 30px;
}
.os-date-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
/* MEDIA QUERIES */

/* mobile media query */
@media (max-width: 768px) {
  .os-application-form .os-date-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .os_box_header {
    flex-direction: column;
  }
  .os-application-tabs span.os-tab-title {
    display: none;
  }
  .os_profile_tabs {
    display: block;
    border-bottom: 0;
  }
  .os_profile_tab_content {
    border-top: 1px solid var(--os-accent);
    padding: 15px;
  }
  .os_profile_tab_content > div {
    grid-template-columns: 1fr;
  }
  .os_profile_tab_content > div.os_active {
    grid-template-columns: 1fr;
  }
  .os_profile_buttons {
    position: static;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .os_field {
    display: block;
    margin-bottom: 30px;
  }
  .os_field label {
    display: block;
  }
  .os_field input:not([type="checkbox"], [type="radio"]),
  .os_field select,
  .os_field textarea {
    width: 100%;
    box-sizing: border-box;
  }
  .os_radio {
    margin: 10px;
  }
  .os_radio label {
    display: inline-block;
  }
  .os_map_grid {
    grid-template-columns: 1fr !important;
  }
  #os_map {
    width: 100%;
    height: 300px;
  }
  .os_gallery {
    grid-template-columns: 1fr !important;
  }
}

/* Template */

.os-studio-wrapper {
  padding-top: 30px;
  width: 100%;
  max-width: 100% !important;
}

.os-studio-single {
  padding: 100px 0;
}

.os-studio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
}

.os-studio-box a {
  text-decoration: none;
}

.os-studio-box img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
}

.os-studio-meta {
  font-size: 0.8em;
  text-transform: uppercase;
}

.os-studio-header {
  display: grid;
  grid-template-columns: 8fr 1fr;
}

.os-studio-profile-image img {
  border-radius: 50%;
  width: 150px;
  height: auto;
}

.os-tab-content {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 100px;
}

.os-label {
  font-weight: bold;
}

.os-studio-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}

.os-studio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  grid-gap: 20px;
}

.os-studio-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
}

.os-facilities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  grid-gap: 20px;
}

.os-facilities img {
  width: 50px;
  height: auto;
}
.os_gallery {
  background: var(--os-light);
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding: 20px 0;
}

.os_gallery > div {
  position: relative;
}

.os_gallery_delete {
  position: absolute;
  display: block;
  top: -5px;
  right: -5px;
  background: var(--os-light);
  border: 1px solid var(--os-accent);
  border-radius: 50%;
  padding: 5px;
  width: 35px;
  line-height: 25px;
  text-align: center;
  cursor: pointer;
  z-index: 100;
}

.os_gallery_rotate {
  position: absolute;
  display: block;
  top: -5px;
  right: 35px;
  background: var(--os-light);
  border: 1px solid var(--os-accent);
  border-radius: 50%;
  padding: 5px;
  width: 35px;
  line-height: 25px;
  text-align: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.2s;
}
.os_gallery_rotate:hover,
.os_gallery_delete:hover {
  border-color: var(--os-primary);
  background-color: var(--os-primary);
}
.os_gallery img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--os-accent);
}
.os_studio_image_preview img {
  border: 1px solid var(--os-accent);
}
.os_studio_image_preview {
  margin-bottom: 20px;
  padding: 20px 0;
}
.os-field-wrapper input[type="file"] {
  border: 1px dashed var(--os-accent) !important;
  padding-right: 40px;
  width: fit-content;
  padding: 40px;
  background-color: #f5f5f5;
  max-width: 100%;
}
.os-char-counter {
  text-align: right;
  font-size: 14px;
  position: absolute;
  top: 0;
  right: 0;
}
.os_gallery_upload.os_loading {
  opacity: 0.2;
  pointer-events: none;
}
@media (max-width: 768px) {
  .os-studio-half {
    grid-template-columns: 1fr;
  }

  .os-studio-header {
    grid-template-columns: 1fr;
  }

  .os-studio-header > div:last-child {
    order: -1;
  }

  .os-studio-grid {
    grid-template-columns: 1fr;
  }
}
.os_msg.warning {
  border-color: var(--os-error-color);
}
label:first-letter {
  text-transform: capitalize;
}
.os_error_message {
  position: absolute;
  top: -15px;
  color: var(--os-error-color);
  font-size: 13px;
  font-style: italic;
  line-height: 1;
}
.os_field.os_error {
  margin-top: 20px;
}
.os_required {
  position: relative;
  margin-top: 20px;
}
.os_instructions {
  color: #221f20;
}
#progress-wrapper {
  width: 100%;
  background: #eee;
  border-radius: 4px;
  margin: 1em 0;
  height: 20px;
  position: relative;
}

#progress-bar {
  height: 100%;
  background: #4caf50;
  width: 0%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

#progress-text {
  position: absolute;
  width: 100%;
  text-align: center;
  top: 0;
  font-size: 12px;
  color: #000;
  line-height: 20px;
}
.os_profile_tab_content > div {
  max-height: 0;
  transition: all 2s ease-in-out;
}
.os_profile_tab_content > div.os_active {
  max-height: 999999vh; /*impossible number, simply used for transition effect*/
}
.os_profile_text {
  text-align: center;
  margin: 40px;
}
.os_register input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--os-primary);
}
.os-studio-filter-wrapper {
  display: flex;
  width: 100%;
  gap: 10px;
  justify-content: space-between;
  background: var(--os-light);
}
.os-studio-filter-wrapper * {
  box-sizing: border-box;
}
.os-studio-filter-wrapper .filter-form {
  display: flex;
  flex-direction: column;
  width: auto;
  gap: 10px;
  justify-content: space-between;
  background: var(--os-light);
}
.os-studio-filter-wrapper .filter-form .os-filter-actions {
  margin-top: 0px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
}
.os-studio-filter-wrapper .os-filters-wrapper {
  width: 100%;
}
.os-studio-archive h1 {
  margin-bottom: 0px;
}
.os-filters.os-studio-filter-wrapper {
  margin-bottom: 20px;
}
.os-studio-archive.os-studio-wrapper {
  padding-bottom: 50px;
}
.os-filter-holder label:hover {
  background-color: var(--os-accent);
}
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
  align-items: center;
}

.active-filters .filter-chip {
  background: var(--os-accent);
  color: #000000;
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
}

.active-filters .filter-chip:hover {
  background: #000000;
  color: #ffffff;
}

.active-filters .clear-filters {
  font-size: 13px;
}
@media (max-width: 767px) {
  .active-filters p {
    flex-basis: 100%;
  }
}
@media (min-width: 1024px) {
  .os-studio-filter-wrapper .filter-form,
  .os-studio-filter-wrapper .filter-form .os-filter-actions {
    flex-direction: row;
    align-items: center;
  }
  .os-studio-filter-wrapper .os-filters-wrapper {
    display: flex;
    flex-grow: 1;
  }
  .clear-filters {
    margin-left: auto;
  }
}

.os-studio-facilities a {
  background: #ffffff;
  border-radius: 50%;
  width: 40px;
  padding: 15px;
  height: auto;
  display: block;
  box-sizing: content-box;
}

.os-studio-facilities a img {
  display: block;
}

.os-studio-facilities a {
  position: relative;
}

/* Tooltip text */
.os-studio-facilities a[title]::after {
  content: attr(title);
  position: absolute;
  bottom: 115%; /* show above link */
  left: 50%;
  transform: translateX(-50%);
  background: var(--os-primary);
  color: #000000;
  padding: 6px 10px;
  border-radius: 5px;
  white-space: nowrap;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  z-index: 10;
}

/* Tooltip arrow */
.os-studio-facilities a[title]::before {
  content: "";
  position: absolute;
  bottom: 100%; /* slightly below tooltip */
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: var(--os-primary) transparent transparent transparent;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  z-index: 10;
}

/* Show tooltip on hover */
.os-studio-facilities a:hover::after,
.os-studio-facilities a:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-3px); /* subtle float effect */
}

/* single studio */

.ast-container {
  display: block !important;
}
.os-studio-title {
  display: grid;
  grid-template-columns: 60px 1fr;
  margin-bottom: 60px;
  gap: 20px;
}

#os-map {
  width: 100%;
  height: 400px;
}

.os-studio-num {
  margin-top: 10px;
  background: var(--os-primary);
  width: 60px;
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-family: var(--wp--custom--typography--font-family--heading);
  font-weight: var(--wp--custom--typography--font-weight--heading);
  font-size: 22px;
  color: #ffffff;
}

.os-studio-title h1 {
  margin: 0;
}

.os-studio-title a {
  text-decoration: none;
}

.os-studio-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.os-studio-image {
  text-align: right;
}

.os-studio-image img {
  width: 400px;
  aspect-ratio: 1;
  object-fit: cover;
}

.os-studio-contact h4,
.os-studio-venue h4 {
  margin: 10px 0;
}

.os-studio-social {
  display: flex;
  gap: 5px;
}

.os-studio-social a {
  background: #000000;
  width: 40px;
  height: 40px;
  color: #ffffff;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
}

.os-studio-background {
  /*background: var(--os-secondary-color);*/
  padding: 40px 0;
  margin: 40px 0;
}

.os-studio-venue {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.os-studio-facilities {
  display: flex;
  margin: 20px 0;
  justify-content: start;
  gap: 5px;
}

.os-studio-facilities a {
  background: #ffffff;
  border-radius: 50%;
  width: 40px;
  padding: 15px;
  height: auto;
  display: block;
}

.os-studio-facilities a img {
  display: block;
}

.os-studio-dates {
  display: flex;
  gap: 10px;
}

.os-studio-date {
  font-size: 12px;
  text-align: center;
  width: 100px;
}

.os-studio-date span {
  text-transform: uppercase;
  display: block;
}

.os-studio-opening {
  background: var(--os-primary);
  border-radius: 5px;
  padding: 5px;
  margin-top: 10px;
}

.os-studio-gallery {
  padding: 40px 0 80px 0;
}

.search-form,
.header-menu > form {
  display: inline-flex;
  background: var(--os-light);
  border-radius: 25px;
  padding: 5px;
  white-space: nowrap;
  align-items: center;
  gap: 4px;
}

.header-menu > form {
  display: none;
}

.search-form > input,
.header-menu > form > input {
  border: 1px solid var(--os-accent);
  outline: none;
  background: transparent;
  font-size: 15px;
  font-weight: 400;
  padding: 5px;
  margin: 0;
  min-width: 150px;
  line-height: 20px;
  box-shadow: none;
}
.header-menu > form > button {
  background: transparent;
  border: none;
  outline: none;
  width: 28px;
  font-size: 20px;
}
.os_map_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}
#os_map {
  height: 270px;
}
.os_map_inner_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}
.os_map_inner_grid div:last-child {
  text-align: right;
}
.os_map_field {
  margin-bottom: 20px;
}
.os_map_field input {
  width: 40%;
}
.os_map_field textarea {
  width: 100%;
  box-sizing: border-box;
  height: 100px;
}
.w3w-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--os-accent);
  border-radius: 4px;
}
.w3w-wrapper .prefix {
  padding-left: 5px;
}
.w3w-wrapper input {
  border: 0;
  outline: 0;
  padding: 8px;
  flex: 1;
}
.w3w-wrapper input:focus {
  border: none !important;
}
.leaflet-touch .leaflet-bar a {
  text-decoration: none;
}
.os_information_data.loading:after {
  content: "Loading...";
  display: block;
  text-align: center;
  box-sizing: border-box;
  font-size: 40px;
  padding-top: 50px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
}
@media (min-width: 1024px) {
  .search-form > form > input,
  .header-menu > form > input {
    width: 250px;
  }
}
@media all and (max-width: 700px) {
  .os-studio-contact,
  .os-studio-venue {
    grid-template-columns: 1fr;
  }
  /* display last grid item first */
  .os-studio-image,
  .os-studio-venue > div:last-child {
    order: -1;
  }
  .os-studio-facilities,
  .os-studio-dates {
    flex-wrap: wrap;
  }
  .os-studio-single {
    padding: 40px 0;
  }
}

@media all and (max-width: 700px) {
  .login-btn {
    display: none;
  }
}

.social-header a {
  display: block;
  font-size: 20px;
  margin-left: 5px;
  background: transparent;
  border: 2px solid var(--wp--preset--color--foreground);
  color: var(--wp--preset--color--foreground);
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.2s;
}
.social-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.social-header a:hover {
  background: var(--wp--preset--color--foreground);
  color: var(--wp--preset--color--background);
}
.social-header.mobile a {
  background: var(--wp--preset--color--foreground);
  color: var(--wp--preset--color--background);
  border-color: var(--wp--preset--color--background);
}
@media all and (max-width: 800px) {
  .os-studio-filter-wrapper {
    flex-direction: column;
  }
  .social-header {
    display: none;
  }
}
.mobile {
  display: none !important;
}
@media all and (max-width: 700px) {
  .mobile {
    display: block !important;
  }
  .social-header.mobile {
    display: flex !important;
    justify-content: flex-start;
    margin-bottom: 20px;
  }
  .social-header.mobile a {
    width: 45px;
    height: 45px;
  }
}
