
:root{
    --font-family: "Noto Sans", sans-serif !important;
    --font-size: 17px;
    --max-width: 1440px;
}


/* Login page style */
.login{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.login button{
    width: 350px;
    margin-top: 2em;
}

.login input{
    width: 350px;
    min-width: 350px;
}

.login-pic{
    height: auto;
    width: auto;
    max-width: 600px;
    max-height: 600px;
    margin: 60px;
    padding: 0;
}


/* base.html style */

body{
    font-family: var(--font-family) !important;
    font-size: var(--font-size) !important;
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color:rgba(246, 230, 203, 0.13) !important;
    
}

.max-width-1440{
    max-width: var(--max-width) !important;
}




/* main{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    padding-bottom: 50px;
    flex-direction: column;
} */

.patient-creation{
    max-width: var(--max-width);
}

.errorlist {
    color: red;

}

.form{
    max-width: var(--max-width);
} 

.medical-history{
    
    max-width: 720px
}

.list-table1{
    max-width: 1440px !important;
}

.toggle-btn{
    width: 200px;
}

.table-row-profile{
    cursor: pointer;
    width: 200px;
}

.table-row-profile:hover{
    font-weight: bold;
}

.select2-container .select2-selection--single {
    height: 38px !important;
    
}

.select2-container .select2-selection--single .select2-selection__rendered {
    display: block;
    padding: 0px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* sidebar style */

/* .sidebar{
    padding-left: 0px !important;
    margin: 0px;
}

.sidebar-nav{
    position: sticky;
    top: 0;
    max-width: 280px !important;
    height: 100vh;
    background-color: #424242;
    padding: 0px;
    margin: 0px;
}

.sidebar-col{
    height: 100vh !important;
} */

.logout-hr{
    margin-top: 100px !important;
}

.nav-top{
    background-color: #353535 !important;
    height: 100px !important;
}
 
.medication-form {
    padding-bottom: 15px;
}



.chronic_diseases-form{
    padding-bottom: 15px;

}

.past_medication-form{
    padding-bottom: 15px;

}

.symptoms-form{
    padding-bottom: 15px;

}

.medical-history-form{
    padding-bottom: 15px;

}



.medical-card-details{
    font-size: 21px;
}

input[type="checkbox"][name$="DELETE"] {
    display: none;
}

label[for^="id_general_physical_examination"][for$="-DELETE"] {
    display: none;
}

label[for^="id_system_checkUp"][for$="-DELETE"] {
    display: none;
}

input[type="checkbox"][name$="is_currently_taken"] {
    display: none;
}

.add-remove-button{
    width: 40px;
    height: 40px;
    font-size: 20px !important;
    padding: 0px !important;
    padding-bottom: 5px !important;
}

.two-table-header1{
    width: 300px !important;
}

.two-table-header2{
    width: 720px !important;
}

.big-table td, .big-table th {
    word-wrap: break-word;
    word-break: break-word;
}

.table-row-pointer{
    cursor: pointer;
}

.datepicker {
    background-color: #ffffff !important;
}


/* Chat container */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-popup {
    display: none; 
    flex-direction: column;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 350px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    overflow: hidden !important;
    
}



.chat-header {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    background-color: #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(182, 199, 170) !important;
}

.chat-body {
    max-height: 400px ;
    overflow-y: auto;
    padding: 10px;
}

.chat-log {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.chat-footer {
    display: flex;
    align-items: center;
    padding: 10px;
}

.chat-footer input {
    flex: 1;
    margin-right: 10px;
}

.send-btn {
    cursor: pointer;
    padding: 5px 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 3px;
}

.close-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Chat bubble styling */
.chat-message {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    max-width: 300px;
    word-wrap: break-word; 
    overflow-wrap: break-word; 
}

.my-message {
    align-self: flex-end;

}

.other-message {
    align-self: flex-start;
}

.message-content {
    padding: 10px;
    border-radius: 10px;
    background-color: #f1f1f1;
}

.message-time {
    margin-top: 5px;
    color: #999;
    font-size: 0.8em;
}

.chart{
    max-width: var(--max-width) !important;
}


.home-container{
    max-width: 1440px !important;
}

.password_change{
    max-width: 720px;
}


.select2-container {
    width: 100% !important;
    display: block !important;
    min-width: auto !important;
}



.nav-item{
    max-height: 41.5px;
}





@media (min-width: 992px) {
    .sidebar {
      min-height: 100vh !important; /* Set the height to 100% of the viewport height */
      overflow-y: auto !important;
      min-width: 260px !important;
    }
  }
@media (max-width: 991px) {
    .nav{
        max-height: 50px !important;
    }
  }


@media print {
    /* Hide elements with the 'no-print' class */
    .no-print {
        display: none !important;
    }
    
}


.card-header{
    background-color: rgb(182, 199, 170) !important;
}

.btn-primary{
    background-color: rgb(160, 147, 125) !important;
    border-color: rgb(160, 147, 125) !important;
}

.btn-success{
    background-color: rgb(72, 168, 140) !important;
    border-color: rgb(72, 168, 140) !important;
}

.btn-warning{
    background-color: #E2AC48 !important;
    border-color: #E2AC48 !important;
}

.btn-info{
    background-color: #41BFB3 !important;
    border-color: #41BFB3 !important;
}

.btn-danger{
    background-color: #8C1F28 !important;
    border-color: #8C1F28 !important;
}

.btn-outline-success{
    border-color: rgb(72, 168, 140) !important;
}

.btn-outline-success:hover{
    background-color: rgb(72, 168, 140) !important;
}

.btn-outline-danger{
    border-color: #8C1F28 !important;
}

.btn-outline-danger:hover{
    background-color: #8C1F28 !important;
}

.color-primary{
    background-color: rgb(160, 147, 125) !important;
    border-color: rgb(160, 147, 125) !important;
}

.paid-toogle-button{
    width: 91px !important;
}

.active{
    background-color: rgb(160, 147, 125) !important;
    border-color: rgb(160, 147, 125) !important;
}

.bi-arrow-left-circle, .bi-arrow-right-circle{
    color:  rgb(160, 147, 125) !important;
}

.bi-x-circle-fill{
    color:  rgb(255, 0, 0) !important;
}

.bi-check-circle-fill{
    color:  rgb(6, 211, 6) !important;
}

#dashboard-view{
    max-width: 2044px !important;
}

.clinic-profile{
    max-width: 1480px !important;
}

.login-error{
    min-width: 350px;
}

.ad-image {
    width: 100%; 
    max-height: 300px !important;
    display: block;
}

.ad-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto; 
    position: relative;
}

.logo {
    width: 150px; /* Adjust as needed */
    height: auto;
}