*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

html,
body,
#root {
  padding: 0 10px;
  margin: 0;
  width: 100%;
  height: 100%;
  font-family: var(--main-font);
}

.inputContainer {
  margin: 15px 0;
  position: relative;
}

.checkboxContainer {
  display: flex;
  width: 265px;
  text-align: left;
  margin: 20px 0;
}

.checkboxContainer > p {
  margin: 0;
}

input[type="checkbox"] {
  margin-right: 20px;
}

input[type="date"] {
  width: auto;
}

input[type="tel"] {
  padding-left: 20px;
}

.unit {
  position: absolute;
  display: block;
  left: 8px;
  top: 32px;
  z-index: 9;
}

.bkkInput {
  display: flex;
  width: 265px;
  height: 40px;
  padding: 8px;
  align-items: flex-start;
  border-radius: 8px;
  border: 0.7px solid #c4c4c4;
  background: #ecf0f1;
  color: #a4a4a4;
}

.bkkInput:user-invalid {
  border-color: #e41f18;
  color: #5e6167;
}

.bkkInput:focus-visible {
  outline: none;
  color: #5e6167;
  border-color: #5e6167;
}

.bkkInput:focus {
  outline: none;
  color: #5e6167;
  border-color: #5e6167;
}

label {
  color: #414648;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}



.button {
  width: 224px;
  height: 48px;
  background-color: #4c0e5f;
  color: #fff;
  text-align: center;
  -webkit-font-feature-settings: "clig" off, "liga" off;
  font-feature-settings: "clig" off, "liga" off;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  letter-spacing: 0.75px;
  border-radius: 8px;
  stroke-width: 0.8px;
  stroke: #4c0e5f;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.button:hover {
  background-color: #f7f7fc;
  color: #4c0e5f;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.response {
  width: 300px;
  text-align: center;
  border-radius: 8px;
  margin: 25px 0 0 0;
  padding: 12px 0;
  font-weight: 700;
  font-size: 20px;
}

#responseText {
  font-size: 14px;
  margin: 0;
}



.error-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #dc3545;
    font-weight: bold;
    font-size: 1.2em;
    cursor: help;
}

.error-message {
    color: #d9534f;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.input-error {
    border-color: red;
}

.error-message {
    color: red;
    font-size: 0.8em;
    margin-top: 4px;
    display: block;
}


