:root {
    /* Primary Color */
    --clr-primary-2: #0d6efd;
    --clr-heading: #131a1f;
    /* --clr-border: #84909b; */
    /* Font Size */
    --font-size-base: 14px;
    --font-size-sm: 12px;
    --font-size-lg: 16px;

    --radius: 10px;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.1);
    --card-padding: 24px;
}

/* .dark-mode{
    --clr-heading: #ffffff;
}

body.dark-mode{
    --clr-border: #424a55;
} */

.j-eml-card {
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
}

.j-data-box {
    box-shadow: var(--card-shadow);
    padding: 30px;
    border-radius: var(--radius);
    border-bottom: 2.5px solid #1083c5b4;
}

.j-create-main {
    border-radius: var(--radius);
}

.j-data-box:nth-child(2) {
    border-color: #10c57ab4;
}

.j-data-box:nth-child(2) {
    border-color: #10c57ab4;
}

.j-data-box:nth-child(3) {
    border-color: #c51037b4;
}

.j-data-box:nth-child(4) {
    border-color: #c510c5b4;
}

.j-data-box:nth-child(5) {
    border-color: #9210c5b4;
}

.j-data-box:nth-child(6) {
    border-color: #4010c5b4;
}

.j-data-box:nth-child(7) {
    border-color: #c54910b4;
}

.j-data-box:nth-child(8) {
    border-color: #10bfc5b4;
}

.j-data-box .j-box-left .j-box-icon i {
    border: 1px solid var(--clr-border);
    /* --radius: 50%; */
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.j-data-box .j-box-left .j-box-icon .j-box-txt h6 {
    font-size: 15px;
}

.j-data-box .j-box-left .j-box-icon .j-box-txt span {
    font-size: 18px;
    font-weight: 500;
}

.card{
    --radius: 10px;
    border-radius: var(--radius);
    padding: 0;
    box-shadow: var(--card-shadow);
}

.card-header{
    padding: var(--card-padding);
    border-bottom: 1px solid var(--clr-border);
    margin-bottom: 0;
    --radius: 10px;
    border-top-left-radius: var(--radius);
    margin-bottom: 0 !important;
    line-height: 1;
    font-size: 14px;
}

.card .card-body {
    padding: var(--card-padding);
    margin-top: 0 !important;
}

.j-chart-box .card {
    padding: 0;
    --radius: 10px;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.j-chart-box .card .card-header {
    padding: var(--card-padding);
    border-bottom: 1px solid var(--clr-border);
    margin-bottom: 0 !important;
    --radius: 10px;
    border-top-left-radius: var(--radius);
    line-height: 1;
}

.j-chart-box .card .card-header .card-title {
    letter-spacing: 0;
    font-size: 16px;
    font-weight: 600;
}

.card-title{
    line-height: 1;
    letter-spacing: 0;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--clr-heading);
}

.j-chart-box .card .card-body {
    padding: var(--card-padding);
}

.form-input-header .title-site {
    border-bottom: 1px solid var(--clr-border);
}

.breadcrumb {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
}

.j-td-btn {
    background: var(--clr-primary-2);
    border-radius: var(--radius);
}

.btn-ami {
    border-radius: var(--radius);
}

.nav-bell {
    border-radius: var(--radius);
}

.toggle-btn {
    border-radius: var(--radius);
}

.nav-np .np {
    border-radius: var(--radius);
}

.input-style-1, .j-form-control, .form-control, .select2-container--default .select2-selection--single {
    border-radius: var(--radius) !important;
}

.input-style-1:focus, .j-form-control:focus, .form-control:focus, .select2-container--default .select2-selection--single:focus {
    border: 1px solid var(--clr-primary-2) !important;
}

.dropdown-menu {
    border-radius: var(--radius);
}

.nav-lang .custom-dropdown .btn-ami{
    padding: 0;
    border: 0;
}

.nav-lang .custom-dropdown .btn-ami span, .nav-lang .custom-dropdown .btn-ami i.fa-angle-down{
    display: none !important;
}

.navbar .j-td-btn {
    background: transparent;
    padding: 0;
    border: 0;
}

.navbar .j-td-btn span {
    display: none !important;
}

.navbar .j-td-btn img {
    filter: invert(1) !important;
}

.navbar .nav-bell {
    width: auto;
    height: auto;
    border: 0;
}

.right-content {
    gap: 30px;
}

#sidebar ul li a {
    border-radius: var(--radius);
}

#sidebar .has-submenu.open a {
    border-radius: var(--radius) var(--radius) 0 0;
}

#sidebar .submenu {
    border-radius: 0 0 var(--radius) var(--radius);
}

.table-responsive {
    width: auto;
    margin: -24px -24px 0 -24px;
}

.table thead{
    background-color: transparent !important;
}

.table thead th {
    border: 0;
    border-bottom: 1px solid var(--clr-border);
    padding: 14px 24px;
    font-weight: 600;
    font-size: 14px;
    background-color: transparent;
}

.table tbody tr td {
    padding: 14px 24px;
    border: 0;
    border-bottom: 1px solid var(--clr-border);
    font-weight: 400;
    font-size: 14px;
    color: var(--clr-heading);
}

.table td a{
    color: var(--clr-heading);
}
.table td a:hover{
    color: var(--clr-primary-2);
}

.breadcrumb .breadcrumb-item a{
    color: var(--clr-heading);
}

.breadcrumb .breadcrumb-item a:hover{
    color: var(--clr-primary-2);
}

.form-input-header {
    margin: 0 -24px;
    padding: 24px;
    padding-bottom: 0;
}

.form-input-header .title-site {
    margin-bottom: 0 !important;
    padding-bottom: 0;
}

.form-input-header .title-site {
    border-bottom: 1px solid var(--clr-border);
    padding: 0 1.5rem 1.5rem;
}

@media(max-width: 991px){
    .right-content {
        gap: 15px;
    }
}


/* ========== Dark mode ========== */

body.dark-mode .nav-bell {
    border: 0;
}

body.dark-mode .navbar .j-td-btn img {
    filter: invert(0) !important;
}