html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
* {
    font-family: 'Open Sans', sans-serif;
}
.form-control {
  border-color:#000;
}
.form-wrapper-section {
    color: #3b3b3b;
    background-color: #f3f3f3;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 10px;
}
.container {
  max-width: 900px;
  padding: 0;
}
.container-fluid {
  padding:0;
}
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
.ContactForm-intro {
    background-color: #f3f3f3;
    padding: 1.5rem;
    border-radius: 10px;
}
.form-file {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid #000;
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    cursor: pointer;
}
.order-line-item.order-line-card {
    border: 1px solid #000;
}
.select-product-btn,.select-return-product-btn,#searchOrderBtn,#searchReturnOrderBtn {
  background-color: #0085b7;
  color:white;
}
.select-product-btn:hover,.select-return-product-btn:hover,#searchOrderBtn:hover,#searchReturnOrderBtn:hover {
  background-color: #004f6d;
  color:white;
}
.form-select {
  border-color: #000;
}
input[type=file]::file-selector-button {
  /* border: 2px solid #0085b7; */
  border-radius: var(--bs-border-radius);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  color: #fff;
  background-color: #0085b7;
  padding: .375rem .75rem;
  margin: -.375rem -.75rem;
  -webkit-margin-end: .75rem;
  margin-inline-end: .75rem;
  pointer-events: none;
  border-color: inherit;
  border-style: solid;
  border-width: 0;
  border-inline-end-width: var(--bs-border-width);
  border-radius: 0;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
input[type=file]::file-selector-button:hover {
  background-color: #004f6d !important;
}
html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  /* margin-right: 15px; */
}

/* ContactForm Styles */
.ContactForm {
  background: #ffffff;
  /* padding: 40px; */
  border-radius: 8px;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  /* max-width: 800px; */
  margin: 0px auto;
  padding-bottom: 20px;
}

.ContactForm-title {
  /* font-size: 28px;
  font-weight: 600;
  color: #2c3e50; */
    margin-bottom: 16px;
    text-align: center;
    /* font-size: 44px; */
    font-weight: 700;
    /* text-transform: uppercase; */
}
span.input-icon {
    border: var(--bs-border-width) solid #000;
    padding: 10px 15px;
    border-radius: var(--bs-border-radius);
}

.ContactForm-description {
  font-weight: 700;
  /* font-size: 14px; */

  /* color: #6c757d; */
  margin-bottom: 32px;
  /* text-align: center; */
  line-height: 1.5;
}

.ContactForm-form {
  width: 100%;
}

.ContactForm-field {
  margin-bottom: 24px;
}

.ContactForm-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  margin-bottom: 8px;
}

.ContactForm-input,
.ContactForm-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.ContactForm-input:focus,
.ContactForm-select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.ContactForm-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.ContactForm-textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.ContactForm-error {
  display: block;
  color: #dc3545;
  font-size: 14px;
  margin-top: 4px;
}

.ContactForm-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 32px;
}

 .ContactForm-submit {
    margin-top: auto;
    background-color: #0085b7;
    border-radius: 8px;
    text-align: center;
    text-decoration: none !important;
    color: #fff;
    width: fit-content;
    display: block;
    padding: 14px 50px;
    cursor: pointer;
    border: none;
    font-size: 14px;
    text-transform: math-auto;


  /* background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out; */
  /* display: inline-flex; */
  /* align-items: center;
  text-decoration: none;
  width: 100%; */
}


.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.align-center {
    align-items: center;
}

.alert button.btn-close {
    align-self: flex-end;
}

/* .ContactForm-submit:hover {
  background-color: #0056b3;
  color: white;
} */
.ContactForm-submit:hover{
    background-color: #004f6d;
    cursor: pointer;
    border: none;
    font-weight: normal;
}

.ContactForm-back {
  background-color: transparent;
  color: #6c757d;
  border: 1px solid #6c757d;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.ContactForm-back:hover {
  background-color: #6c757d;
  color: white;
  text-decoration: none;
}

.ContactForm-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 16px;
  border-radius: 4px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.ContactForm-error-msg {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 16px;
  border-radius: 4px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* .ContactForm {
    padding: 24px;
    margin: 20px auto;
  } */
  
  .ContactForm-actions {
    flex-direction: column;
  }
  
  .ContactForm-submit,
  .ContactForm-back {
    width: 100%;
    justify-content: center;
  }
}

/* Form sections */
.contact-form-section {
  /* margin-top: 32px;
  padding-top: 24px; */
  /* border-top: 1px solid #e9ecef; */
}

.form-section-title {
  font-size: 20px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.form-text {
  font-size: 12px;
  color: #6c757d;
  margin-top: 4px;
}

input[type="radio"],
input[type="checkbox"]{
    display: none;
}

.containerOptions{
    display: flex;
    flex-wrap: wrap;
}

.containerOptions .radioContainer,
.containerOptions .checkboxContainer{
    position:relative;
    margin-bottom: 30px;
    align-items: center;
    display: flex;
    height: 30px;
    flex: 0 0 33%;
}

.containerOptions .radioContainer label,
.containerOptions .checkboxContainer label{
    margin-left:50px;
}


.containerOptions .radioContainer label::before,
.containerOptions .checkboxContainer label::before{
    content:"";
    border-radius: 20%;
    border: 1px solid #000;
    height: 30px;
    width: 30px;
    top: 0%;
    left: 0%;
    margin: auto 0px;
    display: block;
    background: white;
    position: absolute;
}

.containerOptions .radioContainer input[type="radio"]:checked + label::before,
.containerOptions .checkboxContainer input[type="checkbox"]:checked + label::before
{
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    color: #fff;
    background-color: #0085b7;
    cursor: pointer;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
    align-content: center;
}

label {
    font-weight: bold;
    font-size: 1.0em;
}

/* @media (max-width: 1400px) {
    .ContactForm {
        width: 90%;
    }
}

@media (max-width: 880px) {
    .ContactForm {
        width: 95%;
    }
} */

@media (max-width: 520px) {
    .containerOptions .radioContainer,
    .containerOptions .checkboxContainer{
        flex:0 0 100%;
    }
}

/* Validation styling for multi-select checkboxes */
.field-validation-error {
    color: #dc3545 !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block !important;
}

/* Iframe-specific styling */
html.iframe-context {
    scroll-behavior: smooth;
}

/* Ensure validation messages are visible in iframe */
.text-danger {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Required label styling */
.form-label-title.required::after {
    content: " *";
    color: #dc3545;
    font-weight: bold;
}