.dropdown-row {
  display: flex;
  margin-bottom: 20px;
  flex-wrap: wrap;
  width: 100%;
}
.dropdown-title {
  flex: 0 0 auto;
  font-weight: bold;
  color: #999;
  margin-right: 20px;
}
.dropdown-container {
  display: flex;
  flex-direction: row;
  flex: 1;
}
.input-block {
  margin: 0 8px 15px 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.dropdowns {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.dropdown-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 104.5px;
  margin: 0 8px 15px 8px;
}
.dropdown-block select,
.input-block input {
  width: 104.5px;
  height: auto;
  padding: 16px 12px;
  border-radius: 8px;
  border: 1px solid #c8d3d4;
  background: #fff;
  opacity: 1;
}

.button-no-background {
  width: 100%;
  background-color: transparent;
  border: 2px solid black;
  color: black;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  font: inherit;
  border-radius: 5px;
  transition: box-shadow 0.3s ease;
}

.button-no-background:hover {
  box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.5);
}

/* Patient Information Snippet*/
.dropdown-patient-container {
  display: flex;
  flex-direction: column;
}
.patient-title {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 600;
  line-height: 19.36px;
  text-align: left;
  color: #000;
  margin-right: 20px;
  margin-bottom: 20px;
}
.input-name {
  margin-bottom: 10px;
  width: 100%;
}
.dropdowns-date {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.dropdown-date-block {
  flex: 1 1 auto;
  min-width: 104.5px;
}
.dropdown-date-block label {
  display: block;
  margin-bottom: 5px;
}
.dropdown-date-block select,
.input-patient-name-block input {
  width: 100%;
  height: auto;
  padding: 16px 12px;
  border-radius: 8px;
  border: 1px solid #c8d3d4;
  background: #fff;
  opacity: 1;
  margin-bottom: 20px;
}
.dropdown-block select,
.dropdown-date-block select {
  padding: 16px 32px 16px 12px;
  background: #fff
    url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMCA3LjMzbDIuODI5LTIuODMgOS4xNzUgOS4zMzkgOS4xNjctOS4zMzkgMi44MjkgMi44My0xMS45OTYgMTIuMTd6Ii8+PC9zdmc+')
    no-repeat right 12px center;
  background-size: 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.dropdown-block select:disabled,
.dropdown-date-block select:disabled {
  background: #fff
    url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSIjOTQ5RkEwIj48cGF0aCBkPSJNMCA3LjMzbDIuODI5LTIuODMgOS4xNzUgOS4zMzkgOS4xNjctOS4zMzkgMi44MjkgMi44My0xMS45OTYgMTIuMTd6Ii8+PC9zdmc+')
    no-repeat right 12px center;
  background-size: 10px;
}
/*Prescription Doctor Snippet*/
.prescription-container {
  margin-bottom: 20px;
}
.prescription-title {
  flex: 0 0 auto;
  font-size: 16px;
  font-weight: 600;
  line-height: 19.36px;
  text-align: left;
  color: #000;
  margin-right: 20px;
  margin-bottom: 20px;
}

/* TO DO: change dropdowns class */
.tab-dropdown-container {
  display: flex;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  padding: 5px;
  border-radius: 4px;
}
.tab-container {
  display: flex;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  padding: 5px;
  border-radius: 4px;
}
.tab-button {
  flex: 1;
  padding: 8px 10px;
  border: none;
  border-radius: 4px;
  background: #f5f5f5;
  cursor: pointer;
  margin-right: 5px;
  color: #8e8e8e;
}
.tab-button:last-child {
  margin-right: 0;
}
.tab-button.active {
  background: #fff;
  color: #000;
  font-weight: bold;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
.input-prescription-file,
.input-doctor-info,
.input-doctor-name,
.input-doctor-practice,
.input-doctor-phone,
.input-doctor-email {
  width: 100%;
  height: 51px;
  padding: 16px 12px;
  border-radius: 8px;
  border: 1px solid #c8d3d4;
  background: #fff;
  margin-bottom: 10px;
}
#doctor-search-container .input-doctor-info {
  margin-bottom: 0;
}
.custom-file-upload {
  display: inline-block;
  width: 277px;
  height: 35px;
  padding: 0 24px;
  border-radius: 4px;
  background: #027357;
  color: #fff;
  text-align: center;
  cursor: pointer;
  line-height: 35px;
  position: relative;
}
.custom-file-upload input[type='file'] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.doctor-info,
.file-info {
  background: #fdfdfd;
  border-radius: 8px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 54px;
  opacity: 1;
  margin-top: 10px;
}
.doctor-display,
.file-display {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}
.file-name {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 19.36px;
  text-align: left;
  color: #000;
  margin-left: 10px;
  flex-grow: 1;
}
#not-found-message {
  text-align: center;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #ffffff;
}
#not-found-message p {
  margin-bottom: 0;
}
#not-found-message p + p {
  margin-top: 5px;
}
.small-label {
  font-size: 14px;
  font-family: 'Inter', sans-serif;
}
.add-info-button {
  background-color: #11ccd7;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}
.show-search-link {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 16.94px;
  text-align: left;
  color: #11ccd7;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
}
.dropdown-results:empty {
  display: none;
}
.dropdown-results {
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  position: absolute;
  background-color: white;
  z-index: 1000;
  width: 100%;
}
.doctor-item {
  padding: 8px;
  cursor: pointer;
}
.doctor-item:hover {
  background-color: #f0f0f0;
}
.container-info-doctor {
  display: flex;
  flex-direction: column;
  width: 85%;
  padding-left: 1em;
}
.doctor-name {
  font-weight: bold;
  color: black;
  font-family: Inter, sans-serif;
  font-size: 14px;
}
.doctor-practice-name {
  font-family: Inter, sans-serif;
  font-size: 14px;
}
#loader-file,
#loader-doctors {
  width: 30px;
  height: 30px;
  margin: 1em;
}

.spinner-path {
  animation: dash 1.5s ease-in-out infinite;
}
.missing-file {
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 19.36px;
  text-align: left;
  color: red;
}

@keyframes spin {
  0% {
    stroke-dashoffset: 90;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 100, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 100, 200;
    stroke-dashoffset: -50;
  }
  100% {
    stroke-dasharray: 100, 200;
    stroke-dashoffset: -100;
  }
}
.file-upload-dropdown-container {
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  transition: background-color 0.3s;
}

.file-upload-container {
  border: 2px dashed #027357;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  transition: background-color 0.3s;
}

.file-upload-container.drag-over {
  background-color: #f0f8f8;
}

.upload-instructions {
  font-size: 14px;
  color: #555;
}

.file-name {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}
