@charset "UTF-8";

@import './header.css';
@import './footer.css';
@import './treatment-request.css';

:root {
  --swiper-theme-color: #007aff;
  --preset--color--blue-light: #D7EDFF;
  --preset--color--blue-dark: #0C4B7E;
  --preset--color--blue-medium: #176AAE;
  --preset--color--blue-accent-medium: #23A9DC;
  --preset--color--green-medium: #74B692;
  --preset--color--yellow-medium: #FFCD48;
  --preset--color--grey-medium: #7D7D7D;
  --preset--color--grey-light: #B2B2B2;
  --preset--color--green-light: #D0EADC;
  --preset--color--yellow-light: #FFE5A0;  
  --preset--color--grey-lightest: #EFEFEF;
  --preset--color--grey: #414141;
  --preset--color--green-light: #D0EADC;
  --preset--color--red: #D10101;
}

/* Open Sans Variable Fonts */
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-VariableFont_wdth,wght.ttf') format('truetype-variations');
  font-weight: 1 1000;
  font-stretch: 75% 125%;
  font-style: normal;
}

@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans-Italic-VariableFont_wdth,wght.ttf') format('truetype-variations');
  font-weight: 1 1000;
  font-stretch: 75% 125%;
  font-style: italic;
}

/* Poppins Static Fonts */
@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('../fonts/Poppins-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
}


html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}

/* *, :before, :after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
} */

/* :before, :after {
  content: "";
} */

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--preset--color--grey);
  margin: 0;
  line-height: inherit;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .5s;
  background-color: #ffffff;
  padding: 0;
}


h1, h4 {
  color: var(--preset--color--blue-medium);
  margin: 16px 0;
  font-family: 'Poppins', sans-serif;
}

h1 {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}

.hidden {
  display: none;
}

p {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.25rem;
  line-height: 1.4;
  margin: 16px 0;
}

a {
  color: var(--preset--color--blue-medium);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

select {
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAQCAYAAAAFzx/vAAAABGdBTUEAALGPC/xhBQAAAOZJREFUOBG1kj0KwkAQhQOxsVRPIYqllSCojZ2eRO9g6cG00UNIGtOJYqtvyD4IYeKu2cnCyxt2lvdlf9KkGHPYBrpBr2LK5DtDyhbKoCcT1yg+Tnf4iI1I37lMyRZgl3mHUkOaFtAyjJsZEjhB8TaEarAT8lMCxVeQBVSDXZHdF0h1xEL/ghHeFLpHAO+KXrszwugaNEez7vVGwQhdoqjeqUDHXODcBMZMH9QU5oMesYB3Rb9gTn2NDAt1baeE0AXWCw0MWfcLag7jD2nQ1mCELlA8IDnKM2R6jMhTxwCzU6ijdj2TXwMtgbOBSE/+AAAAAElFTkSuQmCC");
  background-size: 14px 8px;
  background-position: 96% 52%;
  background-repeat: no-repeat;
  appearance: none;
}

.form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;

  @media (max-width: 767px) {
    gap: 32px;
  }
}

.form-row > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;

  /* desktop, tablet: two columns, mobile: full width */
  flex: 1 1 280px;
}

.form-row div label {
  font-size: 20px;
}

.form-row div input, select, textarea {
  padding: 16px;
  border: 1px solid var(--preset--color--grey-light);
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  color: var(--preset--color--grey);
  font-size: 20px;
}

.spinner {
  width: 44px;
  height: 44px;
  background: url(/assets/images/loading2.gif) 50% no-repeat;
  background-size: cover;
}

.custom-error-container {
  text-align: center;
  margin-top: 10px;
}

label.custom-error,
label.error, .error-message {
  margin: 5px 0 0;
  line-height: 1.2;
  color: #ef0015;
}

label.custom-error.hidden,
label.error.hidden, .error-message.hidden {
  display: none;
}

div.custom-error,
div.error, .error-message {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  margin: 5px 0 0;
  line-height: 1.2;
  color: var(--preset--color--red);
}

div.custom-error.hidden,
div.error.hidden, .error-message.hidden {
  display: none;
}

.stepper {
  margin-bottom: 8px;
  text-align: center;
  
  p {
    padding-top: 16px;
  }
}

.step-indicators { display:flex; gap:8px; align-items:center; }
.step-indicator {
  width:30px; height:30px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center;
  background:#e6eef6; color:#0a527d; font-weight:700; border:1px solid transparent;
}
.step-indicator.is-active { background:var(--preset--color--blue-medium); color:#fff; }
.form-step { display:none; }
.form-step.is-active { display:block; }
.step-indicators {
  display: flex;
  align-items: center;
}

.progress-bar {
  width: 100%;
  height: 16px; /* Adjust height as needed */
  background: #ececf0; /* Light background for unfilled part */
  border-radius: 8px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--preset--color--blue-medium);
  border-radius: 8px;
  transition: width 0.25s ease;
  width: 0%; /* Start at 0%, update via JS */
}

.wizard-actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

button {
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  padding: 16px 24px;
  border-radius: 8px;
}

a.button-link {
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  padding: 16px 24px;
  border-radius: 8px;
  text-decoration: none;
}

.btn-secondary {
  background: #fff;
  color: #6b7280;
  border: 1px solid var(--preset--color--grey-medium);
}

.btn-secondary:hover {
  background: var(--preset--color--blue-light);
}

.btn-primary {
  background: var(--preset--color--blue-medium);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: var(--preset--color--blue-dark);
}

.alert-message {
  display: flex;
  padding: 16px 16px;
  align-items: center;
  border-radius: 8px;
  box-shadow: 0px 4px 11px 0px rgba(125, 125, 125, 0.25);
  
  p {
    margin: 0;
  }

  @media (max-width: 767px) {
    align-items: start;
    flex-direction: column;
  }


  &.success {
    background-color: var(--preset--color--green-light);

    svg {
      margin-right: 16px;
    }
  }
}

@media (max-width:700px) { .step-indicators { gap:6px; } }