/* Root */
:root {
    /* Color Pallate*/
    --primary-main: #F86F54;
    --primary-hover: #F98C76;
    --primary-active: #AD3E28;
    --primary-disabled: #FFE2DC;
    --accent-success: #00AB41;
    --accent-info: #4885ED;
    --accent-warning: #FFB000;
    --accent-danger: #E5131D;
    --neutral-01: #FFFFFF;
    --neutral-02: #F5F6FA;
    --neutral-03: #E6E6E6;
    --neutral-04: #D5D5D5;
    --neutral-05: #A6A6A6;
    --neutral-06: #757575;
    --neutral-07: #202224;
    --background: #F6F8FA;
}

/* Fonts */
@font-face {
    font-family: 'Telkomsel Batik Sans';
    src: url('../fonts/TelkomselBatikSans-Bold.woff2') format('woff2'),
        url('../fonts/TelkomselBatikSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Telkomsel Batik Sans';
    src: url('../fonts/TelkomselBatikSans-Regular.woff2') format('woff2'),
        url('../fonts/TelkomselBatikSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    color: var(--neutral-07) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Telkomsel Batik Sans';
    font-weight: bold;
}

h1 {
    font-size: 47px
}

h2 {
    font-size: 39px;
}

h3 {
    font-size: 33px
}

h4 {
    font-size: 27px;
}

h5 {
    font-size: 23px
}

h6 {
    font-size: 19px;
}

/* Preloader */
.preloader {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1056;
}

.loader {
    border: 8px solid var(--primary-disabled);
    border-top: 8px solid var(--primary-main);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Breadcrumb */
.breadcrumb li {
    font-size: 12px;
}

.breadcrumb li a {
    color: var(--primary-main);
    text-decoration: none;
}

.breadcrumb li a:hover {
    text-decoration: underline;
}

/* Pagination */
/* .pagination {}

.pagination .page-item {} */

.pagination .page-item .page-link {
    color: var(--neutral-07);
}

.pagination .page-item .page-link:focus,
.pagination .page-item .page-link:active {
    box-shadow: none;
}

/* Button */
.btn {
    padding: 12px 16px;
    font-weight: 500;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary-main);
    border-color: var(--primary-main);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-primary:active {
    background-color: var(--primary-active) !important;
    border-color: var(--primary-active) !important;
}

.btn-outline-primary {
    background-color: var(--neutral-01);
    border-color: var(--primary-main);
    color: var(--primary-main);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--neutral-02);
    border-color: var(--primary-hover);
    color: var(--primary-hover);
}

.btn-outline-primary:active {
    background-color: var(--neutral-02) !important;
    border-color: var(--primary-active) !important;
    color: var(--primary-active) !important;
}

/* Navbar */
.navbar-custom {
    padding: 0 15px;
    border-bottom: 1px solid var(--neutral-03);
    background-color: var(--neutral-01);
    height: 60px;
    align-items: stretch;
}

.navbar-custom .navbar-brand {
    display: flex;
    align-items: center;
    padding-right: 33.5px;
    border-right: 1px solid var(--neutral-03);
}

.navbar-custom.active .navbar-brand {
    width: calc(92px - 17.5px);
    padding-right: 0;
    margin-right: 0;
    justify-content: center;
    transition: all 0.3s;
}

.navbar-custom.active .navbar-brand span {
    display: none;
    transition: all 0.3s;
}

.navbar-custom .navbar-brand .ic-logo {
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-main);
    color: var(--neutral-01);
    border-radius: 10px;
}

.navbar-custom .navbar-nav .nav-item .nav-link {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: var(--background);
}

.navbar-custom.active .navbar-nav .nav-item .nav-link {
    margin-left: 15px;
}

.page-title {
    margin-top: 60px
}


/* Sidebar */
main {
    width: 100%;
    min-height: 100vh;
    display: flex;
}

main .main-content {
    width: 100%;
}

main .main-content .page-content {
    padding: 30px;
    width: 100%;
    height: calc(100vh - 10px);
    overflow-y: auto;
}

.sidebar {
    position: relative;
    width: 297px;
    height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #ffffff;
    border-right: 1px solid var(--neutral-03);
    padding: 20px 0px;
    transition: all 0.3s;
    margin-top: 60px;
}

.sidebar .head {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--neutral-03);
    padding-bottom: 20px;
}

.sidebar .head .user-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    overflow: hidden;
}

.sidebar .head .user-img img {
    width: 100%;
    object-fit: cover;
}

.sidebar .head .user-details .title {
    font-size: 10px;
    font-weight: 500;
    color: #757575;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.sidebar .head .user-details .name {
    font-size: 14px;
    font-weight: 500;
}

.sidebar .nav {
    flex: 1;
}

.sidebar .menu:not(:last-child) {
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--neutral-03);
}

.sidebar .menu .title {
    font-size: 10px;
    font-weight: 500;
    color: #757575;
    text-transform: uppercase;
    margin-bottom: 10px;
    margin-left: 20px;
}

.sidebar .menu ul {
    padding-left: 0;
}

.sidebar .menu ul li {
    position: relative;
    list-style: none;
    margin-bottom: 5px;
}

.sidebar .menu ul li.active>a {
    color: var(--primary-main);
    border-left: 3px solid var(--primary-main);
}

.sidebar .menu ul li.active .arrow {
    transform: rotate(180deg);
}

.sidebar .menu ul li .icon {
    font-size: 20px;
}

.sidebar .menu ul li .text {
    flex: 1;
}

.sidebar .menu ul li .arrow {
    font-size: 14px;
}

.sidebar .menu ul li a {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #757575;
    text-decoration: none;
    padding: 12px 20px;
    transition: all 0.3s;
}

.sidebar .menu ul li a:hover {
    color: var(--primary-main);
}

.sidebar .menu ul li a.text-danger {
    color: var(--accent-danger);
}

.sidebar .menu .sub-menu {
    display: none;
    margin-left: 20px;
    padding-left: 20px;
    padding-top: 5px;
    border-left: 1px solid var(--neutral-03);
}

.sidebar .menu .sub-menu li a {
    padding: 10px 8px;
    font-size: 12px;
}

.sidebar .menu-btn {
    position: absolute;
    right: -14px;
    top: 3.5%;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #757575;
    border: 2px solid var(--neutral-03);
    background-color: #fff;
}

.sidebar .menu-btn:hover i {
    color: #000;
}

.sidebar .menu-btn i {
    transition: all 0.3s;
}


.sidebar.active {
    width: 95px;
}

.sidebar.active .user-details {
    display: none;
}

.sidebar.active .menu .title {
    text-align: center;
}

.sidebar.active .menu .sub-menu {
    position: absolute;
    top: 0;
    left: 20px;
    width: 200px;
    border-radius: 20px;
    padding: 10px 20px;
    border: 1px solid var(--neutral-03);
    background-color: #fff;
    box-shadow: 0px 10px 8px rgba(0, 0, 0, 0.1);
}

.sidebar.active .menu ul li .arrow {
    display: none;
}

.sidebar.active .menu>ul>li>a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar.active .menu>ul>li>a:hover .text {
    left: 50px;
    opacity: 1;
    visibility: visible;
}

.sidebar.active .menu>ul>li>a .text {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    border-radius: 4px;
    color: #fff;
    background-color: #000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.sidebar.active .menu>ul>li>a .text::after {
    content: "";
    position: absolute;
    left: -5px;
    top: 20%;
    width: 20px;
    height: 20px;
    border-radius: 2px;
    background-color: #000;
    transform: rotate(45deg);
    z-index: -1;
}

/* Login Page */
.login-page {
    height: 100vh;
    position: relative;
}

/* .login-page .pattern-wave {
    height: 100vh;
} */

.login-page .pattern-wave img {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.login-page .card .card-body {
    padding: 50px
}

.login-page .card-heading {
    display: flex;
    gap: 15px;
    align-items: center;
    padding-bottom: 45px;
    margin-bottom: 45px;
    border-bottom: 1px solid var(--neutral-03);
}

.login-page .card-heading .ic-logo {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-main);
    color: var(--neutral-01);
    border-radius: 10px;
}

.login-page .card-heading .ic-logo i {
    font-size: 24px;
}

.ic-soft-icon {
    background-color: var(--primary-disabled);
    color: var(--primary-main);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 30px;
}

.ic-soft-icon i {
    font-size: 30px;
}

/* Modal */
.modal .modal-body {
    padding: 20px;
}

/* Form */
.form-label {
    font-size: 14px;
    font-weight: 500;
}

.form-control,
.form-select {
    padding: 12px 16px;
    border-color: var(--neutral-03);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-main);
    box-shadow: none !important;
    outline: 0 none !important;
}

.form-select-sm,
.form-control-sm {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    padding-left: 0.5rem !important;
}

.has-icon {
    position: relative;
}

.has-icon.left .form-control {
    padding-left: 35px;
}

.has-icon .has-icon-control {
    position: absolute;
    top: 0;
    height: 100%;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.has-icon .has-icon-control.left {
    left: 0;
}

.has-icon .has-icon-control.right {
    right: 0;
}

.has-icon .has-icon-control.toggle_pwd {
    cursor: pointer;
}

/* Card Checkbox */
.card .card-heading {
    padding: 15px 20px;
    border-bottom: 1px solid var(--neutral-03);
}

.card .card-heading h6 {
    margin-bottom: 0;
}

.card {
    border-color: #CCD5E0;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card .card-header {
    background-color: #F2F5F9;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    text-align: center;
    font-weight: 500;
}

.card .card-footer {
    background-color: transparent;
}

.card .card-footer .name,
.card .card-footer .status {
    font-size: 10px;
    font-weight: 500;
}

.card .card-footer .status {
    background-color: var(--accent-success);
    padding: 3px 5px;
    border-radius: 5px;
    color: var(--neutral-01);
}

label.radioInput {
    width: 100%;
}

.card-input-element {
    display: none;
}

.card-input {
    padding: 0px;
}

.card-input:hover {
    cursor: pointer;
}

.card-input-element:checked+.card-input {
    background-color: var(--primary-disabled);
    color: var(--primary-main);
    box-shadow: 0 0 1px 1px var(--primary-main);
}

.info {
    background-color: var(--accent-info);
}

.danger {
    background-color: var(--accent-danger);
}

.success {
    background-color: var(--accent-success);
}

.primary {
    background-color: var(--primary-active);
}

.summary-card {
    padding: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--neutral-01);
    text-decoration: none;
}

.summary-card .summary-icon i {
    font-size: 70px;
}

.summary-card .summary-content span {
    font-size: 14px;
}

/* .summary-card .summary-content h3 {} */

/* Charts */
.donutChartContainer {
    position: relative;
}

.donutChartLabel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}


/* Table */


.table {
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table thead tr th {
    font-size: 14px;
    font-weight: 500;
    background-color: #F2F5F9;
    color: var(--neutral-07);
    border: 0.5px solid #CCD5E0;
    text-align: center;
    vertical-align: middle;
}

.table thead tr th:first-child {
    border-top-left-radius: 10px;
}

.table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 10px;
}

.table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 10px;
}

.table thead tr th:last-child {
    border-top-right-radius: 10px;
}

.table tbody tr td {
    font-size: 14px;
    font-weight: 500;
    background-color: var(--neutral-01);
    color: var(--neutral-07);
    border: 0.5px solid #CCD5E0;
    padding: 15px 10px;
}

.pagination .page-item.active a {
    color: var(--neutral-01);
    background-color: var(--primary-active);
    border-color: var(--primary-active);
}

.error-message {
    display: none;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}