@media (min-width: 768px) {
  body {
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
    padding: 20px;
  }

  div.container {
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: auto;
    max-width: 850px;
    padding-bottom: 20px;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 20px;
  }
}

@media (max-width: 767.98px) {
  .fs-sm-7 {
    font-size: 0.6rem;
  }
}

.preferred-time-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 5%;
}

h5 {
  margin-bottom: 10px;
  margin-top: 20px;
}

section.container {
  border-color: lightgray;
  border-radius: 3px;
  border-style: solid;
  border-width: 1px;
  margin: auto;
  margin-top: 0 !important;
  padding: 20px 20px;
}

header,
footer {
  text-align: center;
}
nav a {
  color: #007bff;
  margin-right: 10px;
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}

.form-section {
  box-shadow: none !important;
  margin-bottom: 2rem;
}

.form-check {
  margin: 0 auto;
  max-width: 600px;
  padding-left: 0;
}

.face-options {
  padding-left: 15px;
  padding-right: 15px;
}

.input-group-text {
    min-width: 3rem;
}
.language-btn-div{
    min-height: 40vh;
}

/* Remove rounded corners from Bootstrap elements */
.btn,
.card,
.form-control,
.input-group,
.input-group-text,
.navbar,
.dropdown-menu,
.modal-content,
.alert,
.form-select,
.progress,
.list-group-item,
.pagination,
.table,
.img-thumbnail {
  border-radius: 0 !important;
}

/* Change background color of Bootstrap to Dolls Palette */
button.btn,
button.btn-primary {
  border-color: #b294c5;
}
button.btn:active,
button.btn-primary:active,
button.btn:disabled,
button.btn-primary:disabled,
button.btn-primary:active,
button.btn:focus,
button.btn-primary:focus {
  background-color: #67208e !important;
  border-color: #67208e;
  box-shadow: none !important;
}
button.btn:hover,
button.btn-primary:hover {
  background-color: #67208e !important;
  border-color: #67208e;
}
button.btn:active,
button.btn-primary {
  background-color: #b294c5 !important;
  border-color: #b294c5;
}
button.btn:first-child:active {
  border-color: #b294c5;
}

.badge-default {
    align-items:center;
    display:inline-flex;
    font-size:1rem;
    height:1.9rem;
    justify-content:center;
    width:1.9rem;
}

span.badge.rounded-circle.bg-primary {
  background-color: #67208e !important;
  border-color: #67208e;
}

span.badge.rounded-circle.bg-secondary {
  background-color: #b294c5 !important;
  border-color: #b294c5;
}

input.btn-check:not(:checked) + label.btn.btn-outline-primary,
input.btn-check:not(:checked) + label.btn.btn-outline-secondary {
  border-color: lightgray !important;
  color: black !important;
}

input.btn-check:checked:active + label.btn,
input.btn-check:checked:hover + label.btn,
input.btn-check:checked:focus + label.btn {
  background-color: #67208e !important;
  color: #fff;
}

input.btn-check:checked:focus + label.btn > span > img,
input.btn-check:checked + label.btn > span > img {
  filter: invert(1);
}

input.btn-check:checked + label.btn {
  background-color: #b294c5 !important;
  border-color: lightgray;
  color: #fff;
}

.category-square {
  align-items: center;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
}

.category-label {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  gap: 2rem;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.category-row {
  margin-bottom: 1rem;
}

.picture-upload-label {
  display: block;
}

.picture-upload-label.w-100 {
  cursor: pointer;
  display: block;
}

img.human-picture {
  border: 1px solid #ddd;
  display: block;
  height: 100px !important;
  margin: auto;
  padding: 20px;
  width: 100px !important;
}

label.picture-upload-label > i.bi-upload {
  font-size: 1.5rem;
  vertical-align: middle;
}

.service-status-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.service-status-item {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
}

.service-status-indicator {
  border: 2px solid #222;
  border-radius: 50%;
  display: inline-block;
  height: 40px;
  width: 40px;
}

.service-status-indicator.online {
  background: #28a745;
}

.service-status-indicator.offline {
  background: #dc3545;
}

.service-status-details {
  display: flex;
  flex-direction: column;
}

.service-status-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.service-status-desc {
  color: #555;
  font-size: 0.9rem;
}

.centered-container {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
}

.wizard-step-line {
    border-top: 2px dotted #6c757d;
    height: 0;
}

.label-gender {
    font-size: 0.8rem;
    height: 80px;
    width: 80px;
}
.icon-gender {
    font-size: 1.5rem;
}
.hide-div {
    display: none;
}
.bmi-div {
    min-width: 220px;
}
.bmi-value {
    line-height: 1;
}
.zero-left-margin{
    margin-left:0;
}

.adobe-sign-box-div {
    align-items: center;
    background: #fff;
    border: 2px dashed #1565c0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(21,101,192,0.08);
    display: flex;
    flex-direction: column;
    margin: 0 auto 24px auto;
    max-width: 900px;
}
.adobe-sign-box-canvas {
    background: #f8fafc;
    border: 1px solid #b3c6e0;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(21,101,192,0.04);
    display: block;
    margin: 0 auto;
    max-width: 850px;
    touch-action: none;
    width: 100%;
}

.adobe-sign-box-sign-above {
    color: #1565c0;
    font-weight: 500;
}

.bmi-header-units {
    cursor: help;
    text-decoration: dotted underline;
}

.form-checkbox {
    margin-left:0;
    margin-right:1rem;
}

.children-count-container,
.surgery-count-container
{
    width: 140px;
}


.not-found-container {
    text-align:center;
    margin-top:10vh;
}

.not-found-img {
    max-width:300px;
    width:100%;
    margin:20px 0;
}
.rightMost {
    display: flex;
    justify-content: flex-end;
    font-size: smaller;
}

.gradient-custom {
    /* fallback for old browsers */
    background: #b294c5;

    /* Chrome 10-25, Safari 5.1-6 */
    background: -webkit-linear-gradient(to right, rgba(106, 17, 203, 1), rgba(178, 148, 197, 1));

    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    background: linear-gradient(to right, rgba(106, 17, 203, 1), rgba(178, 148, 197, 1))
}

.border-radius-1 {
    border-radius: 1rem;
}

.radio-container {
    display: flex;
    /*flex-direction: row-reverse; !* Places the radio button to the right of the label *!*/
    justify-content: flex-end; /* Aligns the entire group to the right within its parent */
    align-items: center; /* Vertically centers the radio button and label */
    gap: 10px;
    width:250px;
    /*border: 1px solid black;*/
    padding: 10px;
}