

/* Put Background image on login page */
.container_login {
    background: #eee url(/hms_plus/static/body_bg.png);
    height: 100%;
}
.oe_login_form {

	margin-top: 4%;
        margin-left: 14%;
}



.form-control { 



	width :57%

}
img#logo_img 

{

    margin-top: 42%;
    width: 45%;
    padding-left: 10%;

}


.bold-title {
    font-weight: bold;
    color: #000000;
}

/* Memberikan warna latar belakang pada tab berdasarkan string page */
.o_notebook .nav-tabs .nav-item .nav-link.active {
    background-color: rgb(68, 120, 180) !important; /* Ganti dengan warna yang diinginkan */
    color: white !important;  /* Ubah warna teks agar terlihat lebih baik */
}

.custom-group {
    font-size: 14px; /* Ukuran font untuk group lebih besar */
    font-weight: bold; /* Mengatur teks menjadi bold */
}

.custom-separator {
    font-size: 10px; /* Ukuran font untuk separator */
    font-weight: normal; /* Mengatur teks separator menjadi normal */
}

.custom-separator > div {
    text-transform: capitalize; /* Mengubah teks menjadi kapital hanya pada huruf pertama setiap kata */
}

.green {
    background-color: #28a745 !important; /* Hijau */
    color: white;
}

.yellow {
    background-color: #ffc107 !important; /* Kuning */
    color: black;
}

.red {
    background-color: #dc3545 !important; /* Merah */
    color: white;
}

.black {
    background-color: #000000 !important; /* Black */
    color: black;
}

.custom-image {
    width: 610px !important;
    height: 310px !important;
    object-fit: contain;
}

.customs-image {
    width: 350px !important;
    height: 300px !important;
    object-fit: contain;
}

.pain-level-group {
    margin-left: 100px; /* Geser ke kanan */
    align-items: center;
}

.card-registration .select-input.form-control[readonly]:not([disabled]) {
    font-size: 1rem;
    line-height: 2.15;
    padding-left: .75em;
    padding-right: .75em;
}
    
.card-registration .select-arrow {
    top: 13px;
}

@media (min-width: 1025px) {
    .h-custom {
    height: 100vh !important;
    }
}

.custom_class {
    border-collapse: collapse;
    font-size: 3em;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.custom_class table thead {
    font-size: 3em; /* Perbesar ukuran font thead */
}

.custom_class table thead tr {
    background-color: #009879;
    color: #ffffff;
    text-align: center;
    height: 40px;
}

.custom_class table th,
.custom_class table td {
    padding: 12px 15px;
}

.custom_class table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.custom_class table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.custom_class table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

.custom_class table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}
.custom_class table thead > tr > th:nth-child(4) {
    width: 150px;
    text-align: center;
}

/* Buat seluruh row abu-abu jika display_type adalah section */
.o_list_view tr.o_data_row[data-display_type="line_section"] {
    background-color: #726c6c !important;
    font-weight: bold;
}

/* Buat text dalam kolom names jadi tebal */
.o_list_view .bold_section {
    font-weight: bold !important;
}

.custome-image-row {
    display: flex;
    flex-wrap: wrap; /* biar bisa turun ke bawah kalau nggak cukup */
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.custome-image {
    width: 150%;
    max-width: 250px; /* batasi max width supaya nggak kebesaran */
    height: auto;
    object-fit: contain;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.customes-image-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* ini agar gambar tetap di tengah */
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.customes-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.o_list_view thead th {
    white-space: normal !important;
    text-overflow: unset !important;
    overflow: visible !important;
    max-width: none !important;
    width: auto !important;
}
    
.o_list_view tbody td {
    white-space: normal !important;
    max-width: none !important;
    text-overflow: unset !important;
}

.o_list_view table {
    table-layout: auto !important; /* Biar kolom ikut lebar kontennya */
}

.vital-signs-container {
    margin-top: 20px;
}

.vital-card {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    padding: 10px 16px;
    min-width: 120px;
    text-align: center;
}

.vital-value {
    font-weight: bold;
    font-size: 16px;
}

.vital-label {
    font-size: 13px;
    color: #6c757d;
    margin-top: 4px;
}

.center-button-box {
    display: flex;
    justify-content: center;
    margin: 12px 0;
}

.big-button {
    font-size: 20px;
    padding: 16px 24px;
}

.wide-button-box {
    min-width: 350px; /* Bisa sesuaikan jika masih kependekan */
    font-size: 20px;
    padding: 16px 24px;
    text-align: center;
}