:root {
  --physician-finder-panel-height: 500px;
  --physician-finder-list-horizontal-padding: 16px;
}

/* Physician Map */

#physician-finder-map {
    width: 100%;
    height: var(--physician-finder-panel-height);
}

/* Physician Form */

#physicians-sidebar #physician-form {
  width: 100%;
  margin-bottom: 1rem;
}

#physicians-sidebar #physician-form .physician-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

#physicians-sidebar #physician-form label {
    display: block;
    margin: 0;
    font-weight: bold;
}

#physicians-sidebar #physician-form input,
#physicians-sidebar #physician-form select  {
    display: block;
    padding: 10px 15px 6px 15px;
    background-color: #fff;
    border: 1px solid #999;
}

#physicians-sidebar #physician-form select  {
    appearance: none;
    padding: 10px 40px 6px 15px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor' stroke='none' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1em;
    min-width: 250px;
}

#physicians-sidebar #physician-form .physicial-form-button {
    border: none;
    text-align: center;
    margin-top: 1.5rem;
    padding: 15px 40px 11px 40px;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: bold;
    background-image: linear-gradient(to right, #ff9e1b 0%, #ff6d85 100%);
    background-repeat: repeat-x;
}

/* Physician List */

#physician-list {
  width: 100%;
  max-height: var(--physician-finder-panel-height);
  overflow: hidden;
  display: flex;
  flex-direction: column;

}

#physician-list #start-over {
    display: block;
    letter-spacing: 2px;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 0;
}

#physician-list #physician-list-empty {
    padding: var(--physician-finder-list-horizontal-padding);
    text-align: center;
    display: flex;
    align-items: center;
}

#physician-list ol {
  padding: 0;
  list-style: none;
  counter-reset: item;
  margin: 0;
  overflow: auto;
}
  
#physician-list ol, #physician-list-empty {
  border: 1px solid #dddddd;
  flex: 1;
}

@media screen and (max-width: 768px) {
    #physician-list ol {
        height: initial;
    }
}

#physician-list li {
    counter-increment: item;
    margin-bottom: 5px;
    font-size: 14px;
    padding: 16px;
    margin: 0;
    position: relative;
    cursor: pointer;
    transition: all 200ms ease-in-out;
}

#physician-list li h3 {
    color: #f16c24;
    font-size: 18px;
    margin-bottom: 0.5rem;
}

#physician-list li:hover h3 {
  text-decoration: underline;
}

#physician-list .physician-detail-meta p:last-child {
    margin-bottom: 0;
}

#physician-list li > .physician-detail-meta > h3 > span:before {
  content: counter(item) ".";
  display: inline-block;
  font-weight: bold;
  margin-right: 4px;
}

#physician-list li:nth-child(odd of .physician-detail--visible) {
  background: #f7f7f7;
}

#physician-list li:nth-child(even of .physician-detail--visible) {
  background: #ffffff;
}

#physician-list li.physician-detail--hidden {
  display: none;
}

#physician-list li.physician-detail--active {
    background-color: rgba(251, 99, 126, 0.1) !important;
}

#physician-list .physician-detail-meta p {
    margin-bottom: 0.5rem;
}

#physician-list .physician-detail-meta-distance {
    color: #999;
    font-style:italic;
}

/* Marker Info */

.physician-map-marker-information .physician-detail-meta p {
    margin-bottom: 0;
}

.physician-map-marker-information .physician-detail-meta h3 {
    margin-bottom: 0;
    font-size: 14px;
    color: #f16c24;
}

/* Count and reset container */
.physician-reset-count-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}