/* custom.css */
.step {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

div#selected-address-summary {
  font-size: 14px;
  background-color: #F5F6F5;
  padding: 1rem;
  border: 1px solid rgb(75 85 99);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  width: 375px;
}

#rating {
  width: 150px;
}
.card-text {
  font-style: italic;
  font-size: calc(95%);
}

.idpc-input {
  background-image: url('./img/locationpin.png');
  background-size: 24px 24px;
  background-position: 10px 11px;
  background-repeat: no-repeat;
  padding-left: 42px!important;
}

.idpc-select {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M7 10l5 5 5-5z"/></svg>');
  background-size: 36px 36px;
  background-position: right 10px center;
  background-repeat: no-repeat;
  padding-right: 30px!important;
  appearance: none; /* Remove default select arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
}

.step.active {
  display: block;
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

.container {
  max-width: 1040px !important;
}

.bg-dark {
  background-color: #5587c0 !important;
}
.btn-primary {
  background-color: #63ad20 !important;
  border: 1px solid #63ad20 !important;
  font-weight: bold;
  font-size: 28px;
}
.btn-secondary {
  border: 1px solid #5587c0 !important;
  background-color: transparent !important;
  color: #5587c0 !important;
}
.btn-secondary.selected {
  background-color: #5587c0 !important;
}

/* Root CSS Variables */
:root {
  --bs-primary: #4a90e2;
  --bs-secondary: #f5f5f5;
  --bs-success: #28a745;
  --bs-info: #17a2b8;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #333333;
  --highlight-color: #d7a4b5;
}

/* Override Bootstrap styles */
body {
  background-color: var(--bs-secondary);
  color: var(--bs-dark);
  font-family: "Inter", sans-serif; /* Import Inter font */
}

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=optional"); /* Import Inter font */

.navbar {
  background-color: var(--bs-primary);
}

.navbar-brand,
.navbar-nav .nav-link {
  color: #ffffff; /* Text color on navbar links */
}
#multiStepForm p {
  color: rgba(8, 13, 19, 0.6);
  font-size: 14px;
}
.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-primary:hover {
  background-color: darken(var(--bs-primary), 10%);
  border-color: darken(var(--bs-primary), 10%);
}

.btn-highlight {
  background-color: var(--highlight-color);
  border-color: var(--highlight-color);
  color: #ffffff; /* White text on the pink button */
}

.btn-highlight:hover {
  background-color: darken(var(--highlight-color), 10%);
  border-color: darken(var(--highlight-color), 10%);
}

/* Additional styles */
input,
textarea,
select {
  border-color: #335173!important;
  max-width: 384px; 
  width: 100%;
  border-radius: 4px; 
  border-width: 2px;
  font-size: 18px; 
  font-weight: 500;
  padding: 10px 15px !important;
}
input[type="text"] {
  background-color: #f9f9f9;
  margin-bottom: 16px;
}
.step .btn-radio {
  text-align: center;
  vertical-align: middle;
  width: 100%;
  color: #1b63ad;
  cursor: pointer;
  background: #fff;
  flex-grow: 1;
  font-size: 1.5em;
  line-height: 60px;
  height: 60px;
  position: relative;
  display: inline-block;
  border-radius: 0.3rem !important;
  border: 2px solid #1b63ad;
  transition: all 0.5s ease;
}
.step input[type="radio"]:checked + .btn-radio {
  color: #ffffff !important;
  border: 2px solid #1b63ad;
  background: radial-gradient(76.63% 76.63% at 50% 50%, #5587C0 0%, #88ABD2 100%);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}

.step input[type="radio"]:checked + .btn-radio::after {
    content: "";
    background: url(./img/tik.png) no-repeat center center; 
    background-size: cover; 
    width: 20px; 
    height: 20px;
    border-radius: 50%; 
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 10;
    display: flex; 
    justify-content: center;
    align-items: center;
}
.form-control {
  max-width: 384px; 
  width: 100%;
  border-radius: 4px; 
  border-width: 2px; 
  font-size: 18px; 
  font-weight: 500;
  padding: 0.475rem 0.75rem;
}
.idpc-input,
.idpc-select {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--bs-body-color);
  background-color: var(--bs-form-control-bg);
  background-clip: padding-box;
  border: var(--bs-border-width) solid var(--bs-border-color);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin-top: 12px;
  width: calc(100vw + -40px);
  border-radius: 4px; /* Set border radius for inputs */
  border-width: 2px; /* Set border width for inputs */
  font-size: 18px; /* Set font size for inputs */
  font-weight: 500; /* Set font weight for inputs */
}
.idpc-select {
  margin-top: 20px;
}
.idpc-input:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-form-control-bg);
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.idpc-button {
  --bs-btn-padding-x: 0.75rem;
  --bs-btn-padding-y: 0.375rem;
  --bs-btn-font-family: ;
  --bs-btn-font-size: 1rem;
  --bs-btn-font-weight: 400;
  --bs-btn-line-height: 1.5;
  --bs-btn-color: #212529;
  --bs-btn-bg: transparent;
  --bs-btn-border-width: var(--bs-border-width);
  --bs-btn-border-color: transparent;
  --bs-btn-border-radius: 0.375rem;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 1px 1px rgba(0, 0, 0, 0.075);
  --bs-btn-disabled-opacity: 0.65;
  --bs-btn-focus-box-shadow: 0 0 0 0.25rem
    rgba(var(--bs-btn-focus-shadow-rgb), 0.5);
  display: inline-block;
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  font-family: var(--bs-btn-font-family);
  font-size: var(--bs-btn-font-size);
  font-weight: var(--bs-btn-font-weight);
  line-height: var(--bs-btn-line-height);
  color: var(--bs-btn-color);
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
  border-radius: var(--bs-btn-border-radius);
  background-color: var(--bs-btn-bg);
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;

  --bs-btn-color: #fff;
  --bs-btn-bg: #0d6efd;
  --bs-btn-border-color: #0d6efd;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0b5ed7;
  --bs-btn-hover-border-color: #0a58ca;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #0a58ca;
  --bs-btn-active-border-color: #0a53be;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #0d6efd;
  --bs-btn-disabled-border-color: #0d6efd;
  max-width: 384px;
  width: 100%;
  margin-top: 0.5rem;
  background-color: #63ad20 !important;
  border: 1px solid #63ad20 !important;
  font-weight: bold;
  font-size: 28px;
}

.btn-primary {
  max-width: 384px;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--bs-dark);
}

h2 {
  font-size: 28px;
  font-weight: bold;
}

.question {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 4px;
  display: block;
}

a {
  color: var(--bs-primary);
}

a:hover {
  color: darken(var(--bs-primary), 10%);
}

.progress-bar {
  background-color: #c05587!important;
  border-radius: 10px 0px 0px 10px;
}

.btn-secondary {
  width: 192px;
}

.progress {
  position: relative;
  overflow: visible;
  height: calc(1rem + 8px);
  border-radius: 10px;
  padding-right: 10px;
}

.progress-bar-extension {
  position: relative;
  right: 0;
  top: 0;
  bottom: 0;
  width: 19%;
  background-color: #c0558750;
  border-radius: 10px 0px 0px 10px;
}

.left10 {
  left: -10px;
}

#step1NextButton {
  opacity: 0;
  transition: opacity 0.5s ease-in-out, display 0.5s ease-in-out;
  display: none;
}

#step1NextButton.show {
  opacity: 1;
  display: block;
}

.loading-step {
  display: none;
}

.loading-step.active {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.spinner-border {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  vertical-align: text-bottom;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
  to { transform: rotate(360deg); }
}

#loadingAnimation {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .responsive-title {
    font-size: 25px;
  }
}
@media (max-width: 768px) {
  .max-width-380-m {
      max-width: 380px;
      margin: 0 auto;
  }
}

@media (max-width: 991px) {
  div#selected-address-summary {
    width: 100%;
  }
}



