/* -------------------------------
   Base & Global
-------------------------------- */
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f6f9;
  margin: 0;
  padding: 0;
  color: #333;
}

section {
  padding: 40px 0;
}

/* Remove default focus outlines */
input,
textarea,
select {
  outline: none !important;
}

/* -------------------------------
   Container Layouts
-------------------------------- */
.mainDiv {
  max-width: 1200px;
  padding: 20px;
}

@media only screen and (min-width: 1300px) {
  .mainDiv {
    min-width: 1200px;
  }
}

.mainData {
  background-color: var(--color-light--2);
  /* padding: 2rem; */
  border-radius: 10px;
}

/* Form container width */
.formEoi {
  width: 95%;
}

/* -------------------------------
   Section Header Styling
-------------------------------- */
.secondaryHeader {
  margin-top: 1rem;
  margin-bottom: 15px !important;
  font-weight: 700;
  font-size: 1.125rem;
  /* color: #9d9ea6; */
  color: #7e7e85;
  padding-bottom: 6px;
  border-bottom: 2px solid #8d8e95;
}

/* -------------------------------
   Labels + Inputs
-------------------------------- */
.labelStyleDefault {
  padding-left: 0;
}

/* Orange label style for desktops */
@media (min-width: 992px) {
  .labelStyleDefault {
    background-color: #f49325;
    color: #fff;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
    padding-left: 0.875rem;
    display: flex;
    align-items: center;
  }
}

/* Adjust input radius when label on left */
@media (min-width: 992px) {
  .inputBorderCustom {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
  }
}

/* Input base styles */
.inputBorderCustom,
.form-control {
  border-top-right-radius: 6px !important;
  border-bottom-right-radius: 6px !important;

  border: 1px solid #bfc7d1 !important;
  padding: 10px;
  transition: border-color 0.2s ease-in-out;
}

.inputBorderCustom:focus,
.form-control:focus {
  border-color: #1976d2 !important;
  box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.2) !important;
}

label {
  font-weight: 600;
  font-size: 0.95rem;
}

/* -------------------------------
   Checkboxes & Radios
-------------------------------- */
.form-check-input {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.form-check-label {
  cursor: pointer;
}

/* -------------------------------
   Floating labels
-------------------------------- */
.form-floating > label {
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
}

.form-floating textarea {
  min-height: 90px;
}

/* -------------------------------
   Shadow Containers
-------------------------------- */
.shadow-sm {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08) !important;
}

/* -------------------------------
   Grid Layout for sections
-------------------------------- */
.s5GridColMd > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 768px) {
  .s5GridColMd {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0;
    grid-row-gap: 0;
  }

  .s5GridColMd > div {
    margin: 0.1rem;
    padding: 0.2rem;
    border: 1px solid #ced4da;
  }
}

/* -------------------------------
   Buttons
-------------------------------- */
.profileBtn {
  border: 1px solid var(--color-brand--1);
  padding: 8px 20px;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  color: #fff;
  background-color: var(--color-brand--1);
  border-radius: 24px;
  margin-left: 8px;
  transition: 0.2s ease-in-out;
}

.profileBtn:hover {
  background-color: var(--color-brand--1);
  opacity: 0.9;
}

/* -------------------------------
   Additional spacing
-------------------------------- */
.row {
  margin-bottom: 8px;
}

textarea {
  resize: vertical;
}

/* -------------------------------
   Responsive tweaks
-------------------------------- */
@media (max-width: 768px) {
  .mainData {
    padding: 20px;
  }

  .secondaryHeader {
    font-size: 1.05rem;
  }

  label {
    font-size: 0.9rem;
  }
}

@media (min-width: 992px) {
  .checkbox-row > label {
    width: 156px;
    max-width: 156px;
    display: inline-block;
    white-space: normal;
  }
}

/* || 2. MODAL WINDOWS */

.modalEoi {
  display: none;
  position: fixed;
  z-index: 10000;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0); /* Fallback colour - black */
  background-color: rgba(0, 0, 0, 0.4); /* Black */
}

.message__box__content {
  background-color: #fefefe;
  margin: auto;
  padding: 1.5625rem;
  border: 1px solid #cccccc; /* Light Gray */
  width: 90%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 1.5rem;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 0.625rem;
}

@media (min-width: 421px) and (max-width: 620px) {
  .message__box__content {
    width: 70%;
  }
}

@media (min-width: 621px) and (max-width: 1365px) {
  .message__box__content {
    width: 50%;
  }
}

@media (min-width: 1366px) {
  .message__box__content {
    padding: 1.5625rem;
    width: 22%;
  }
}

.message__btn {
  border: none;
  cursor: pointer;
  padding: 0.625rem 2.5rem;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  resize: vertical;
  font-family: "Fira Sans Regular";
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  word-spacing: 3px;
  border-radius: 0.625rem;
}

.success__col {
  color: #4bb543;
}

.success__bg {
  background-color: #4bb543;
}

.error__col {
  color: #e33434;
}

.error__bg {
  background-color: #e33434;
}

.loader__circle {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #e86424; /* Dark Orange */
  width: 80px;
  height: 80px;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.pl-w label {
  min-width: 160px;
}

@media (min-width: 556px) and (max-width: 991px) {
  .pl-w label {
    min-width: 300px;
  }
}
