/* ================================
   SET BUTTON VALUE MODAL
================================ */

.set-button-modal .modal-dialog {
    max-width: 455px;
}

.set-button-modal .modal-content {
    border: none;
    border-radius: 0;
    overflow: hidden;
}


/* ================================
   HEADER
================================ */

.set-button-modal .modal-header {
    background: #078dcc;
    color: #fff;
    padding: 10px 12px;
    border-bottom: none;
}

.set-button-modal .modal-title {
    font-size: 16px;
    font-weight: 600;
}

.set-button-modal .btn-close {
    filter: brightness(0) invert(1);
    opacity: 1;
}


/* ================================
   TABS
================================ */

.modal-tabs {
    padding: 10px 8px 0;
    background: #fff;
}

.modal-tabs .nav-tabs {
    border-bottom: none;
}

.modal-tabs .nav-link {
    border-radius: 0;
    border: none;
    color: #111;
    background: #e8e8e8;
    padding: 7px 15px;
    font-size: 14px;
}

.modal-tabs .nav-link.active {
    background: #263b50;
    color: #fff;
    font-weight: 600;
}


/* ================================
   BODY
================================ */

.set-button-modal .modal-body {
    max-height: 540px;
    overflow-y: auto;
}


/* Scrollbar */

.set-button-modal .modal-body::-webkit-scrollbar {
    width: 7px;
}

.set-button-modal .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.set-button-modal .modal-body::-webkit-scrollbar-thumb {
    background: #aaa;
}


/* ================================
   HEADINGS
================================ */

.button-heading {
    font-size: 13px;
    color: #111;
}


/* ================================
   INPUT ROW
================================ */

.button-row {
    margin-bottom: 14px;
}

.button-row .form-control {
    height: 34px;
    border-radius: 0;
    border: 1px solid #d5d5d5;
    font-size: 13px;
    padding: 5px 8px;
}

.button-row .form-control:focus {
    border-color: #078dcc;
    box-shadow: none;
}


/* ================================
   FOOTER
================================ */

.set-button-modal .modal-footer {
    border-top: none;
    padding: 0 8px 8px;
}


/* ================================
   UPDATE BUTTON
================================ */

.update-btn {
    width: 100%;
    border: none;
    border-radius: 0;
    background: #078dcc;
    padding: 8px;
    font-size: 14px;
}

.update-btn:hover {
    background: #057bb1;
}

body.dark-theme .nav-tabs{
    height: auto !important;
}

.modal .modal-dialog .modal-content{
    background-color: #fff;
}

@media (min-width: 576px) {
    .modal-dialog-scrollable {
        max-height: calc(100% - 0.5rem);
    }
}

@media (max-width: 576px) {

    .modal-open .modal{
        top: 0px !important;
    }
}

@media (max-width: 767px) {
    .modal-backdrop.fade {
        opacity: .8 !important;
        display: block !important;
    }
}