@import url('../css/base.css');
@import url('../css/datatable.css');
@import url('../css/datepicker.css');
@import url('../css/pnotify.css');
@import url('../css/select2.css');
@import url('../css/tooltip.css');
@import url('../css/widget.css');
@import url('../css/summernote.css');

/* ======================================
 *
 * RULES :
 * Taruh custom css disini atau bikin file baru
 * Import file baru berada di bawah base.css
 * Jangan mengubah apapun di base.css kecuali diskusikan terlebih dahulu
 * Terkhusus base.css jangan pakai prettier
 *
 ====================================== */

  /* ======================================
 * Change status on billing details
====================================== */
.tbr_group--radio .custom-radio {
    position: relative;
    padding-top: 12px;
    margin-bottom: 12px;
}

.tbr_group--radio .custom-radio::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% - 38px);
    height: 1px;
    background-color: #F2F3F8;
}

.tbr_group--radio .custom-radio:first-child {
    padding-top: 10px;
}

.tbr_group--radio .custom-radio:first-child::before {
    display: none;
}

.tbr_group--radio .custom-radio:last-child {
    margin-bottom: 40px;
}

.tbr_empty--data {
    width: 100%;
    height: 100%;
    background-color: var(--light);
    border-radius: 10px;
    padding: 50px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tbr_empty--data img {
    margin-right: -10px;
}

/* ======================================
 * Nav tabs
====================================== */
.nav-tabs.tbr_nav--tabs {
    background-color: var(--white);
    border-radius: 10px;
    min-height: 54px;
    border: none;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    box-shadow: 0px 12px 24px 0px rgba(82,59,93,0.08);
    -webkit-box-shadow: 0px 12px 24px 0px rgba(82,59,93,0.08);
    -moz-box-shadow: 0px 12px 24px 0px rgba(82,59,93,0.08);
}

.nav-tabs.tbr_nav--tabs .nav-link {
    position: relative;
    padding: 16px 24px 16px;
    margin-bottom: 0;
    font-size: 15px;
}

.nav-tabs.tbr_nav--tabs .nav-link:not(.active) {
    font-family: "Montserrat Bold", sans-serif;
    color: var(--dark) !important;
}

.nav-tabs.tbr_nav--tabs .nav-link.active {
    font-family: "Montserrat Bold", sans-serif;
    color: var(--primary) !important;
}

.nav-tabs.tbr_nav--tabs .nav-item.show .nav-link,
.nav-tabs.tbr_nav--tabs .nav-link.active,
.nav-tabs.tbr_nav--tabs .nav-link {
    border: none !important;
    background-color: transparent !important;
    border-radius: 0;
}

.nav-tabs.tbr_nav--tabs .nav-link span {
    margin-left: 8px;
}

@media only screen and (max-width: 992px) {
    .nav-tabs.tbr_nav--tabs .nav-link span {
        display: none;
    }
}

.nav-tabs.tbr_nav--tabs .nav-link::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background-color: transparent;
}

.nav-tabs.tbr_nav--tabs .nav-link.active::after {
    background-color: var(--primary);
}

.nav-tabs.tbr_nav--tabs .nav-link.active svg .tbr_custom {
    fill: var(--primary);
}

/* ======================================
 * Other style
====================================== */
.tbr_header--submit {
    margin-right: 50px;
}

@media only screen and (max-width: 767px) {
    .tbr_header--submit {
        display: none;
    }
}

hr.tbr_solid {
    height: 0;
    border-bottom: 1px solid #F2F3F8;
}

.tbr_datatable--auth-log .pagination {
    justify-content: flex-end;
}

.tbr_datatable--auth-log .dataTables_length,
.tbr_datatable--auth-log .dataTables_filter {
    display: none;
}

html .tbr_edit--error-https .modal-dialog {
    box-shadow: none;
    background-color: transparent;
}

html .tbr_edit--error-https .modal-dialog .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: none;
    overflow: hidden;
}

html .tbr_edit--error-https .modal-title {
    font-family: "Montserrat Bold";
    margin: 0;
    font-size: 18px;
}

html .tbr_edit--error-https .modal-header {
    background-color: var(--light);
    border: none;
    padding: 20px 30px 18px;
}

html .tbr_edit--error-https .modal-footer {
    background-color: var(--light);
    border: none;
    padding: 16px 30px 14px;
}

html .tbr_edit--error-https .modal-body {
    padding: 30px;
}

html .tbr_edit--error-https .btn {
    font-size: 14px;
    min-height: 48px;
    padding-right: 24px;
    padding-left: 24px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
}

html .tbr_edit--error-https .btn:hover,
html .tbr_edit--error-https .btn:focus,
html .tbr_edit--error-https .btn:active {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

html .tbr_edit--error-https .btn-primary {
    background-color: var(--primary) !important;
    color: #FFFFFF !important;
    transition: all 0.3s ease;
    box-shadow: 0px 8px 24px 0px rgba(0,99,248,0.2);
    -webkit-box-shadow: 0px 8px 24px 0px rgba(0,99,248,0.2);
    -moz-box-shadow: 0px 8px 24px 0px rgba(0,99,248,0.2);
}

html .tbr_edit--error-https .form-control {
    color: var(--paragraph);
    min-height: 48px;
    border-radius: 10px;
    background-color: var(--light);
    border-width: 3px;
    border-style: solid;
    border-color: var(--light);
    box-shadow: none !important;
    outline: none !important;
    padding-right: 20px;
    padding-left: 20px;
}

html .tbr_edit--error-https .form-control:focus,
html .tbr_edit--error-https .form-control:active {
    color: var(--paragraph);
    background-color: var(--light);
    border-color: rgba(var(--rgb-primary), 0.7);
}

html .tbr_edit--error-https .form-group {
    padding-top: 0;
    border: none;
}

html #nprogress .bar {
    background: var(--primary);
    height: 3px;
}

html #nprogress .peg {
    box-shadow: 0 0 10px var(--purple), 0 0 5px var(--primary);
}

/* Custom logo and header for RnB only */
.tbr_custom--logo {
    position: fixed;
    top: 0;
    left: 0;
    width: 265px;
    height: 170px;
    background: var(--dark);
    z-index: 1012;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 20px;
}

.tbr_custom--logo img {
    width: auto;
    height: 100%;
}

html.modern .sidebar-left {
    padding-top: 86px;
}

html.sidebar-left-collapsed .tbr_custom--logo {
    width: 73px;
    height: 73px;
    padding: 10px;
}

html.sidebar-left-collapsed .tbr_custom--logo img {
    width: 100%;
    height: auto;
}

html.sidebar-left-collapsed .sidebar-left {
    padding-top: 10px;
}

html .toggle-sidebar-left,
html [data-toggle-class="sidebar-left-collapsed"] {
    cursor: pointer;
}

@media only screen and (min-width: 768px) {
    html.sidebar-left-collapsed .sidebar-left .nano {
        transition: all 0.3s ease;
        border-radius: 0 16px 0 0;
    }

    .tbr_custom--logo .toggle-sidebar-left {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    html.modern .sidebar-left {
        padding-top: 66px;
    }

    .tbr_custom--logo {
        width: 100%;
        height: 58px;
        padding: 6px;
        justify-content: space-between;
        padding-right: 15px;
        padding-left: 15px;
    }

    .tbr_user--box {
        margin-right: 15px;
    }
}

/* Custom label for RnB only */
.tbr_label {
    font-family: "Montserrat Semi Bold", sans-serif;
}

.tbr_table tr td .tbr_label {
    display: block;
    min-width: 108px;
}

/* Custom anim ripple background for RnB only */
.sidebar-left [anim="ripple"]:before {
    background: var(--ripple-background, var(--dark));
}

.tbr_account_logo_wrapper {
    width: 232px;
    height: 80px;
    background-image: url('../svg/icons/Empty-Account-Logo.svg');
    background-position: center;
    background-size: cover;
}

hr.solid {
    border: 1px solid rgb(82, 59, 93, 0.08);
}

#delete-button.disabled {
    cursor: default;
}

#delete-button #Layer_2 {
    opacity: 0.7;
}

#delete-button.disabled #Layer_2 {
    opacity: 0.3;
}
