
.modal .create-prescription-button,
.modal .create-patient-button{
    background-color: black !important;
    border: 1px solid black !important;
    padding: 8px 16px !important;
    color: #fff !important;
    border-radius: 0 !important;
}
.create-patient-button{
        width: 100%;
    margin: 0 !important;
    height: 50px;
}
.create-patient-button-wrapper{
        text-align: center;
        padding-top: 20px;
}
.patient-modal-header{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 30px 10px 15px 10px;
    text-align: center;
}
.patient-modal-header h2{
    margin: 0 !important;
    color: #3db2ff !important;
    font-weight: 600 !important;
}
.patient-form-field-wrapper{
    display:flex; 
    flex-direction: row;
    justify-content: space-between;
    gap: 25px;
    padding: 0 10px;
}
.patient-form-field-wrapper div{
    width: 50%;
}

.modal-content {
    background-color: #fff;
    margin: 20px auto;
    padding: 0;
    height: 80vh;
    border-radius: 0;
    box-shadow: 0px 0px 10px #000;
    overflow-y: scroll;
}

.close-button {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.patient-dob{
    border-radius: 0 !important;
    border: 1px solid black;
    padding: 5px 10px;
    color: black !important;
    text-align: left;
}
  /* Responsive */
  @media (max-width: 800px) {
    .patient-form-field-wrapper{
        flex-direction: column;
    }
    .patient-form-field-wrapper div{
        width: 100%;
    }
    .modal-content {
        height: min-content;  
        max-width: 300px;    /* <-- LIMIT WIDTH */
        width: 100%;
        height: 90dvh !important;
    }

    .patient-dob{
        width: -webkit-fill-available !important ;
        box-sizing: border-box !important;
    }
  }

 .patient-form-field input{
    font-size: 16px;
    height: 30px;
    box-sizing: border-box;
    width: 100%;
  }
  .patient-form-field{
    width: 100%;
    margin: 0;
  }
  .patient-form-field.new-patient-dob{
    margin: 25px 0;
  }
  .existing_patient_select{
    min-height: 25px;
  }
  .existing-patient-select-label{
    text-align: center;
  }


  .existing-patient-select{
    height: 40px;
    border-radius: 0 !important
  }



.custom-patient-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dropbtn {
    background-color: lightgrey;
    color: black;
    padding: 10px;
    font-size: 14px;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropbtn:hover, .dropbtn:focus {
    background-color: #3e8e41;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f6f6f6;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    border: 1px solid #ddd;
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 10px;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown-search {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #ccc;
}

.dropdown-content.show {
    display: block;
}

input::-webkit-date-and-time-value {
    text-align: left;
}