/*!********************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js!./src/scss/style.scss ***!
  \********************************************************************************************************************************************************/
.magic-extra-field-checkbox-label,
.magic-extra-field-light-d-block {
  display: block;
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-bottom: 0.625rem;
}

.magic-extra-field-light-d-inline {
  display: inline;
}

/*input type text style */
.magic-input-password,
.magic-input-textarea,
.magic-input-email,
.magic-input-tel,
.magic-input-number,
.magic-extra-field-quantity,
.magic-input,
.magic-input-text {
  display: block;
  width: 100%;
  padding: 0.55rem 0.75rem;
  font-weight: 400;
  line-height: 1.8;
  background-color: #fff;
  border: 1px solid rgb(214, 217, 227);
  border-radius: 0.5rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.magic-input-password:focus,
.magic-input-textarea:focus,
.magic-input-email:focus,
.magic-input-tel:focus,
.magic-input-number:focus,
.magic-extra-field-quantity:focus,
.magic-input:focus,
.magic-input-text:focus {
  color: #212529;
  outline-color: #d6d9e3;
  outline-offset: 2px;
  outline-width: 2px;
  outline-style: solid;
  border-color: #1b1e27;
}
.magic-input-password::placeholder,
.magic-input-textarea::placeholder,
.magic-input-email::placeholder,
.magic-input-tel::placeholder,
.magic-input-number::placeholder,
.magic-extra-field-quantity::placeholder,
.magic-input::placeholder,
.magic-input-text::placeholder {
  color: #6c757d;
  opacity: 1;
}
.magic-input-password:disabled,
.magic-input-textarea:disabled,
.magic-input-email:disabled,
.magic-input-tel:disabled,
.magic-input-number:disabled,
.magic-extra-field-quantity:disabled,
.magic-input:disabled,
.magic-input-text:disabled {
  background-color: #e9ecef;
  opacity: 1;
}

.magic-extra-field-checkbox-wrapper.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.magic-extra-field-field.checkbox .magic-extra-field-field-input {
  display: flex;
}

.form-container {
  max-width: 400px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.field-group {
  margin-bottom: 2rem;
}
.field-group:last-child {
  margin-bottom: 0;
}

.field-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.magic-extra-field-radio-option {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.25rem 0;
}
.magic-extra-field-radio-option input[type=radio] {
  width: 18px;
  height: 18px;
  margin-right: 0.75rem;
  cursor: pointer;
  accent-color: #007bff;
}
.magic-extra-field-radio-option input[type=radio]:focus {
  outline: none;
}
.magic-extra-field-radio-option label {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.magic-extra-field-radio-option:hover label {
  color: #007bff;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.magic-extra-field-field.checkbox .magic-extra-field-field-input {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.25rem 0;
}
.magic-extra-field-field.checkbox .magic-extra-field-field-input input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin-right: 0.75rem;
  cursor: pointer;
  accent-color: #007bff;
}
.magic-extra-field-field.checkbox .magic-extra-field-field-input input[type=checkbox]:hover {
  transform: scale(1.05);
}
.magic-extra-field-field.checkbox .magic-extra-field-field-input input[type=checkbox]:focus {
  outline: none;
}
.magic-extra-field-field.checkbox .magic-extra-field-field-input label {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.magic-extra-field-field.checkbox .magic-extra-field-field-input:hover label {
  color: #007bff;
}

@media (max-width: 480px) {
  .form-container {
    padding: 1.5rem;
    margin: 1rem;
  }
  .field-title {
    font-size: 1rem;
  }
  .radio-text,
  .checkbox-text {
    font-size: 0.9rem;
  }
}
select.magic-input-select {
  padding: 13px 12px;
}

textarea.magic-input-textarea {
  font-family: inherit;
}

.magic-extra-filed-wrapper .magic-extra-filed-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 0.625rem;
}
.magic-extra-filed-wrapper .magic-extra-filed-label .magic-field-label {
  margin-bottom: 0;
}
.magic-extra-filed-wrapper .magic-extra-filed-label .magic-field-label,
.magic-extra-filed-wrapper .magic-extra-filed-label .magic-extra-field-price {
  font-weight: 400;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.magic-extra-filed-wrapper .magic-extra-field-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}
.magic-extra-filed-wrapper .magic-extra-field-input-wrapper .magic-extra-field-input {
  flex: auto;
}
.magic-extra-filed-wrapper .magic-extra-field-input-wrapper .magic-extra-field-quantity-input {
  width: 100px;
}
.magic-extra-filed-wrapper.textarea .magic-extra-field-input-wrapper {
  align-items: start;
}

.magic-extra-field-field.password .magic-extra-field-input.password-toggle-on {
  position: relative;
}
.magic-extra-field-field.password .magic-extra-field-input.password-toggle-on .magic-input-password {
  padding-right: 20px;
}
.magic-extra-field-field.password .magic-extra-field-input.password-toggle-on .magic-password-toggle {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  padding: 3px 20px;
  width: auto;
  background: transparent;
  border: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2724%27 height=%2724%27 fill=%27none%27 stroke=%27currentColor%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 class=%27lucide lucide-eye-off-icon lucide-eye-off%27%3E%3Cpath d=%27M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49M14.084 14.158a3 3 0 0 1-4.242-4.242%27/%3E%3Cpath d=%27M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143M2 2l20 20%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.2rem;
  cursor: pointer;
}
.magic-extra-field-field.password .magic-extra-field-input.password-toggle-on .magic-password-toggle:focus {
  outline: none;
}

.magic-field-label .magic-extra-field-required {
  color: #fb2c36;
}
