.grid-margin {

    margin-bottom: 15px;

}

.card .card-body {

    padding: 15px 14px;

}

.form-sm .form-group,
.form-sm .form-group label {

    margin-bottom: 0.1rem;

    font-size: 0.75rem;

    line-height: 0.5;

}

.form-sm .form-control-sm {

    height: 2rem;

    width: 90%;

}

textarea.form-control {

    width: 90%;

}

.modal .modal-dialog .modal-content .modal-header {

    padding: 10px;

}

.modal .modal-dialog .modal-content .modal-body {

    padding: 10px;

}

.modal .modal-dialog .modal-content .modal-footer {

    padding: 10px;

}

.modal .modal-dialog .modal-content .modal-header .close span {

    font-size: 35px;

}

.profile-body h4 {

    font-size: 14px;

}

.profile-body h6 {

    font-size: .75rem;

}

.dropdown .dropdown-menu .dropdown-item {

    font-size: 0.8rem;

    padding: .25rem 1.5rem;

}

.bg-primary-light {

    background-color: #39b54a91 !important;

}

.form-check-input {

    margin-top: 0.75rem;

}

.btn.btn-sm {

    font-size: 0.75rem;

    padding: 5px 7px;

}

.custom-tabs .nav-link.active,
.custom-tabs .nav-item.show .nav-link {

    color: #10541a;

    background-color: #ffffff;

    border-color: #ebedf2 #ebedf2 #ffffff;

    font-weight: 600;

}

.nav-tabs .nav-link {

    padding: 0.5rem 1rem;

}

.tab-content {

    padding: 1rem 0.5rem;

}

.custom-tabs .nav-link {

    background: #10541a;

    color: #fff;

}



.accordion.custom-accordion .card .card-header {

    padding: 0.5rem 1rem 0.5rem 0.5rem;

}

.accordion.custom-accordion .card .card-body {

    padding: 0.5rem;

}



.accordion.custom-accordion .card .card-header a[aria-expanded="false"]:before {

    content: "Expand";

}



.accordion.custom-accordion .card .card-header a[aria-expanded="true"]:before {

    content: "Collapse";

}



.accordion .card .card-header a:before {

    font-family: inherit;

    font-size: 11px;

}

.accordion .card .badge.badge-pill {

    font-size: 0.75rem;

}

.table-xs {

    font-size: 0.75rem;

}

.loading {

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    width: 50px;

    height: 50px;

}

.container-scroller .page-body-wrapper.login-bg {

    background-image: url('../images/login-bg.png');

    background-position: center;

    background-repeat: no-repeat;

    background-size: cover;

}

.auth .auth-form-light {

    box-shadow: 1px 2px 3px;

}

.select2.select2-container.select2-container--default {

    width: 90% !important;

}

.select2-container--default .select2-selection--single {

    height: 2rem !important;

}

.select2-container .select2-selection--single .select2-selection__rendered {

    overflow: unset !important;

    padding: .4375rem .75rem !important;

}

.select2-container--default .select2-selection--single .select2-selection__rendered {

    color: #212529 !important;

    line-height: 5px !important;

}

.select2-container--default .select2-selection--single {

    padding: .4375rem .75rem !important;

}

table.table td,
table.table th {
    white-space: normal;
}

/* ── Floating Telemedicine Window ── */
#telemedicine-floating-window {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 450px;
    height: 350px;
    background: #1a1a1a;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #333;
    transition: width 0.3s ease, height 0.3s ease;
}

#telemedicine-floating-window.minimized {
    height: 40px !important;
    width: 250px !important;
}

.tfw-header {
    height: 40px;
    background: #1db954;
    /* HMS Green */
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    cursor: move;
    user-select: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tfw-title {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.tfw-controls {
    display: flex;
    gap: 10px;
}

.tfw-btn {
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 14px;
    padding: 5px;
    transition: color 0.2s;
}

.tfw-btn:hover {
    color: white;
}

.tfw-btn-close:hover {
    color: #ff4444;
}

.tfw-body {
    flex: 1;
    position: relative;
}

#tfw-jitsi-container {
    width: 100%;
    height: 100%;
}

.tfw-resize-handle {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 15px;
    height: 15px;
    cursor: nwse-resize;
    background: linear-gradient(135deg, transparent 50%, #555 50%);
}

#telemedicine-floating-window.minimized .tfw-resize-handle {
    display: none;
}

.cke_notification_warning,
.cke_notification {
    display: none !important;
}

#dispense_btn {
    display: none !important;
}

#packaging_name_id {
    color: #1db954 !important;
}
