/* Main container */
.dvh-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
	text-transform: capitalize
}

/* pop up map */
.ui-widget-overlay {
        background: rgba(0, 0, 0, 0.7); /* Black with 70% opacity */
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 1;
    }

.ui-dialog {z-index: 9}

/* Style the close button */
.ui-dialog .ui-dialog-titlebar-close {
    background: #ff4d4d;
	color:#ffffff;
    border: none;
    padding: 5px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-left: auto;
    float: right;
}
iframe#map-frame {
    width: 100%;
    max-width: 650px;
}
.ui-dialog-title {
    font-size: 25px;
    color: white;
}

/* Tab navigation */
.dvh-nav-tabs {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

input#date {
    height: 55px;
    max-width: 180px;
    width: 100%;
}

#dvh-visit-date{
    pointer-events: none;
}
#dvh-visit-time{
    pointer-events: none;
}

a.edit-note-bt {
    border: 1px solid #00000038;
    background-color: white;
    border-radius: 4px;
    padding: 3px;
    color: black;
}

.dvh-nav-tabs ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}


.dvh-nav-tabs li {
    margin-right: 10px;
    margin-bottom: 10px;
}

.dvh-nav-tabs li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}

.dvh-nav-tabs li.active a {
    background: #fff;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
    color: #0073aa;
    font-weight: bold;
}

/* Forms */
.dvh-form {
    max-width: 600px;
    margin: 0 auto;
}

.dvh-form-group {
    margin-bottom: 15px;
}

.dvh-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.dvh-form-group input[type="text"],
.dvh-form-group input[type="date"],
.dvh-form-group input[type="time"],
.dvh-form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.dvh-form-group textarea {
    min-height: 100px;
}
/* hide action field*/
.dvh-hide {
    display: none;
}
#dvh-visits-datatable colgroup col:nth-child(5) {
  display: none;
}
/* Visits table */
.dvh-visits-table {
    width: 100% ;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.dvh-visits-table th,
.dvh-visits-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}
.dvh-visits-table th {
    background-color: #f1f1f1;
}

.dvh-visits-table tr:nth-child(even) {
    background-color: #f9f9f9;
}
/* Messages */
.dvh-info {
    background-color: #e5f5fa;
    color: #31708f;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

.dvh-success {
    background-color: #e5f7ee;
    color: #3c763d;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

.dvh-error {
    background-color: #fae5e5;
    color: #a94442;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

/* Buttons */
.button {
    display: inline-block;
    padding: 8px 12px;
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    font-size: 14px;
}

.button-primary {
    background: #0073aa;
    border-color: #006799;
    color: #fff;
}

.button:hover {
    background: #e1e1e1;
}

.button-primary:hover {
    background: #008ec2;
    border-color: #006799;
    color: #fff;
}

/* Responsive styles */
@media (max-width: 768px) {
    .dvh-nav-tabs ul {
        flex-direction: column;
    }
    
    .dvh-nav-tabs li {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .dvh-nav-tabs li a {
        border-radius: 4px;
        border-bottom: 1px solid #ddd;
    }
    
    .dvh-nav-tabs li.active a {
        border-bottom: 1px solid #ddd;
        margin-bottom: 0;
    }
    
    .dvh-visits-table {
        display: block;
        overflow-x: auto;
    }
}
.ui-autocomplete {
    position: absolute;
    z-index: 10000 !important;
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ccc;
    background-color: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.ui-menu-item-wrapper {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f1f1f1;
}
.ui-menu-item-wrapper:last-child {
    border-bottom: none;
}

.ui-menu-item-wrapper:hover {
    background-color: #0073aa;
    color: #fff;
}
/* doctor plan */
.dvh-form {
    max-width: 500px;
    margin: 30px auto;
    padding: 20px;
    background: #f9f9ff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    font-family: 'Segoe UI', sans-serif;
}
.dvh-form label {
    display: block;
    margin: 15px 0 5px;
    font-weight: bold;
}

.dvh-form input[type="text"],
.dvh-form input[type="date"],
.dvh-form textarea,
.dvh-form select{
    width: 100%;
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    background: #fff;
    transition: border-color 0.3s;
}

.dvh-form input:focus,
.dvh-form textarea:focus {
    border-color: #0073aa;
    outline: none;
}

.dvh-form textarea {
    resize: vertical;
    min-height: 80px;
}

.dvh-form button {
    margin-top: 15px;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.3s ease;
}

.dvh-form button:hover {
    background: #005b8e;
}

.dvh-suggestions {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    width: calc(100% - 22px);
    max-height: 200px;
    overflow-y: auto;
    z-index: 999;
    margin-top: -1px;
    display: none;
}

.dvh-plan-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.dvh-plan-item:hover {
    background-color: #f1f1f1;
}

.dvh-response {
    margin-top: 20px;
    font-weight: bold;
    color: green;
}
.dvh-response {
    max-width: 500px;
    margin: 30px auto;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
    color: red;
}
.dvh-doctor-user-actions {
    margin-bottom: 10px;
    font-size: 14px;
}

.dvh-doctor-user-actions a {
    text-decoration: none;
    color: #0073aa;
}

.dvh-doctor-user-actions a:hover {
    text-decoration: underline;
}
#dvh-doctor-user {
    width: 100%;
    padding: 10px;
    border: 1px solid #bbb;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    background: #fff;
    transition: border-color 0.3s;
}
.dvh-visit-block {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
    background: #f9f9f9;
    border-radius: 6px;
}

.dvh-visit-block label {
    display: block;
    margin-top: 10px;
}

.dvh-visit-block input,
.dvh-visit-block select,
.dvh-visit-block textarea {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    box-sizing: border-box;
}

.dvh-buttons {
    margin-top: 10px;
}

.dvh-add-block,
.dvh-remove-block {
    padding: 6px 10px;
    font-size: 16px;
    margin-right: 5px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.dvh-remove-block {
    background-color: #ca4a1f;
}
/* .dvh-schedule-table {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-radius: 4px 4px 0 0;} */

/* .dvh-schedule-table tbody td{
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    background: #f1f1f1;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    text-align: center;
}
.dvh-schedule-table tr {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
     text-align: center;
} */
.work_with {
    display: flex;
    column-gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.work_with label {
    margin: 0;
}
.dvh-form-group .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {top: 5px;color: #e71010;border: 0;margin: 0 !IMPORTANT;}
.dvh-form-group .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    margin-left: 18px;
}
.dvh-form-group .select2-container--default .select2-selection--multiple .select2-selection__clear {
    background-color: red;
    padding: 2px 4px;
    height: auto;
    display: none;
}
.dvh-form-group .select2-selection--multiple {
    padding: 0 !important;
}
.dvh-form-group .select2-container .select2-search--inline {
    float: none;
}
.dvh-form-group ul#select2-product_visit_select-container:empty {
    display: none;
}
@media screen and (max-width:767px){
.ui-dialog {
    z-index: 9;
    max-width: 95%;
}	
}