/* Poppins and Roboto font import */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Audiowide&family=Poppins:wght@600&family=Roboto:wght@400&display=swap');

/* ==============================
   FORM CONSISTENCY - BOOTSTRAP 3
   ============================== */

.bg-success2{
    background-color: #c0ffa6;
}
.bg-warning2{
    background-color: #ffef99;
}
.bg-danger2{
    background-color: #ffc1c1;
}
.bg-info2{
    background-color: #c3ebff;
}

/* BASE FORM CONTROL */
.form-control {
    height: 34px;
    padding: 6px 12px;
    font-size: 13px;
    line-height: 1.42857143;
    border-radius: 4px;
}

/* =====================
   SELECT2
   ===================== */
.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection--single {
    height: 34px;
    border: 1px solid #ccc;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-right: 30px;
    font-size: 13px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px;
    right: 6px;
}

/* focus */
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #66afe9;
}

/* reanonly */
select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
    cursor: no-drop;
}
select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
    background: #eee;
    box-shadow: none;
}
select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow, 
select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
    display: none;
}

/* =====================
   DATEPICKER (Bootstrap-datepicker)
   ===================== */
.datepicker,
.datepicker-dropdown {
    font-size: 13px;
}

.input-group .form-control {
    height: 34px;
}

.input-group .form-control {
    border-radius: 4px 0 0 4px;
}
.input-group-btn .btn {
    border-radius: 0 4px 4px 0;
}

/* =====================
   FILE UPLOAD
   ===================== */
input[type="file"].form-control {
    height: 34px;
    padding: 4px 6px;
    font-size: 13px;
}

/* Fix Choose File text */
input[type="file"]::-webkit-file-upload-button {
    height: 26px;
    margin-right: 6px;
}

/* =====================
   INPUT GROUP
   ===================== */
.input-group-addon {
    height: 34px;
    padding: 6px 10px;
    font-size: 13px;
}

/* =====================
   SMALL / XS VARIANT
   ===================== */
.form-control.input-xs {
    height: 24px;
    padding: 3px 8px;
    font-size: 11px;
}

.select2-xs .select2-selection--single {
    height: 24px;
}
.select2-xs .select2-selection__rendered {
    line-height: 24px;
    font-size: 11px;
}
.select2-xs .select2-selection__arrow {
    height: 24px;
}

/* SweetAlert2 button styles */
.swal2-confirm {
    padding: 7px 20px;
    /* font-size: 18px; */
    background:linear-gradient(135deg,#5a7be6,#2f55c7) !important;
}

.swal2-cancel {
    padding: 7px 20px;
    /* font-size: 18px; */
    background:linear-gradient(135deg,#e96052,#c93626) !important;
}

.swal2-backdrop-show {
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(1px) !important;
}

.swal2-popup {
    border-radius: 5px;
}

/* Hide scrollbar for WebKit browsers */
::-webkit-scrollbar {
    display: none;
}

/* Footable css */
.footable-bootstrap td,
.footable-bootstrap th {
    padding: 7px 10px;
}

table.footable tbody > tr.footable-empty > td {
    font-size: 11px !important;
}

.footable-filtering .btn {
    display: none !important;
}

.footable-filtering-search input {
    width: 135px !important;
    height: 23px !important;
    font-size: 11px !important;
    border-radius: 4px !important;
}

.table-toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:5px;
	font-size: 11px !important;
}

.table-toolbar select,
.table-toolbar input{
    padding:3px 6px;
	width: 50px !important;
    height: 23px !important;
    border-radius: 4px !important;
}

/* DataTables custom styles */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    font-size: 10px;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    font-size: 10px;
    padding: 3px 6px;
    height: auto;
}

.dt-button {
    font-size: 10px !important;
    padding: 3px 8px !important;
}

/* 1. Paksa wrapper pagination jadi Flexbox mendatar */
.dataTables_wrapper .dataTables_paginate {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    float: right !important;
}

/* 2. Kalau DataTables pakai tag <ul>, paksa <ul>-nya juga Flexbox */
.dataTables_wrapper .dataTables_paginate ul.pagination {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
}

/* 3. Paksa setiap tombol/list item sejajar tanpa float kaku */
.dataTables_wrapper .dataTables_paginate .paginate_button,
.dataTables_wrapper .dataTables_paginate ul.pagination li {
    float: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

/* Styling khusus untuk layar Handphone/Mobile (layar di bawah 768px) */
@media (max-width: 767px) {
    /* 1. Ratakan info & pagination ke tengah */
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate {
        float: none !important;
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        margin-top: 8px !important;
    }

    /* 2. Biar tombol pagination tidak off-screen (bisa di-scroll halus jika kepanjangan) */
    .dataTables_wrapper .dataTables_paginate {
        overflow-x: auto !important;
        padding-bottom: 5px !important;
        -webkit-overflow-scrolling: touch;
    }

    /* 3. Sembunyikan angka halaman yang terlalu banyak di HP (hanya tampilkan angka aktif & Sblm/Slnjt) */
    .dataTables_wrapper .dataTables_paginate .paginate_button:not(.previous):not(.next):not(.current) {
        display: none !important;
    }
}

.datepicker{
    padding-left: 13px;
    padding-right: 13px;
}

/* Image box styles for thumbnails */
.image-box {
    width: 100%; 
    height: 200px;
    border: 2px dashed #ccc;
    display: block;
    background-color: #f8f8f8;
    object-fit: cover; 
}

.image-box[src=""] {
    background-color: #f8f8f8; 
}

.box {
    box-shadow: 
        0 2px 6px rgba(0,0,0,0.08),
        0 8px 20px rgba(0,0,0,0.12);
    border-radius: 10px;
}

/* Print section styles */
@media screen {
    #printSection {
      display: none;
    }
}

@media print {
    body * {
      visibility: hidden;
    }

    #printSection,
    #printSection * {
      visibility: visible;
    }

    #printSection {
      position: absolute;
      left: 0;
      top: 0;
    }
}

/* Logo and navbar text styles */

.logo-lg {
    font-family: "Audiowide", sans-serif;
    font-weight: 400;
    font-style: normal;
    user-select: none;
    font-size: 24px;
    color: #1e293b;
}

.logo-lg2 {
    font-family: "Audiowide", sans-serif;
    font-weight: 400;
    font-style: normal;
    user-select: none;
    font-size: 24px;
    color: #4168ea;
}

/* .pag-logo2 {
    font-family: "Archivo Black", sans-serif;
    font-size: 20px;
    color: #1e293b;
} */

.navbar-text {
    font-weight:400; color: #fff; 
    font-size: 16px;
    margin-right: 14px;
    margin-top: 14px;
}

/* =====================================================
   LOGIN PAGE STYLES
===================================================== */

body.login-page {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    /* Latar belakang dasar untuk area kanan */
    background-color: #f4f7fb; 
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.login-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

/* =====================================================
   PANEL KIRI (GAMBAR MOBIL & TEKS)
===================================================== */
.login-left-panel {
    position: relative;
    width: 60%;
    height: 100%;
    border-top-right-radius: 190px;
    /* border-bottom-right-radius: 80px; */
    box-shadow: 15px 0 45px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 60px;
    z-index: 10;
    overflow: hidden;
}

.login-left-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    
    /* Kombinasi Overlay Biru Terang dan Gambar Mobil */
    background: 
        /* Lapisan biru tipis untuk memberikan efek kebiruan (tint) tanpa membuat gelap */
        linear-gradient(135deg, rgba(65, 104, 234, 0.25) 0%, rgba(120, 160, 255, 0.1) 100%),
        url("../../images/7.jpg") left center no-repeat;
    background-size: cover;
    
    /* Hapus blend-mode agar tidak merusak warna asli, cukup andalkan transparansi rgba di atas */
    
    /* Naikkan brightness untuk mencerahkan, dan turunkan sedikit saturate agar elegan */
    filter: brightness(1.15) contrast(1.05) saturate(0.85);
    
    z-index: 0;
}

/* Transisi Putih Kebiruan */
.left-gradient-overlay {
    position: absolute;
    inset: 0;
    
    /* Transisi gradien 3 tahap yang lebih halus (smooth fade) */
    background: linear-gradient(
        to right, 
        rgba(238, 244, 255, 0) 15%,    /* Transparan sepenuhnya sampai 25% */
        rgba(238, 244, 255, 0.5) 45%,  /* Memudar setengah transparan di 60% */
        rgba(238, 244, 255, 0.85) 80%, /* Hampir solid di 80% agar teks mulai terbaca jelas */
        #eef4ff 100%                   /* Putih-kebiruan solid sepenuhnya di 100% (area teks) */
    );
    
    z-index: 1;
}

/* Konten Teks di Atas Gradient */
.welcome-content {
    position: relative;
    z-index: 2;
    max-width: 360px; /* Lebar area teks */
}

.welcome-title {
    font-size: 30px;
    font-weight: 500;
    color: #1e293b;
    margin: 0 0 -5px 0;
}

.brand-logo {
    font-family: 'Audiowide', cursive;
    font-size: 42px;
    color: #1e293b;
    margin: 0 0 35px 0;
    letter-spacing: -1px;
}
.brand-blue {
    color: #4168ea;
}

.pag-logo {
    font-family: "Archivo Black", sans-serif;
    font-size: 48px;
    color: #1e293b;
    /* margin: 0 0 35px 0; */
    letter-spacing: -1px;

    /* Tambahkan dua baris ini untuk menurunkan teks */
    display: inline-block;
    transform: translateY(2px);
}

/* Tipiskan garis pemisah */
.divider {
    font-family: Arial, sans-serif; /* Mengubah font garis agar ramping lurus */
    font-weight: 100;               /* Sangat tipis */
    font-size: 45px;                /* Tinggi garis disesuaikan */
    opacity: 0.5;                   /* Membuat ketebalan visual semakin tipis/lembut */
    display: inline-block;
    transform: translateY(-1px);
}

.feature-box {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}
.shield-icon-bg {
    width: 45px;
    height: 45px;
    background-color: #e2e8f8; /* Biru memudar */
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #4168ea;
    font-size: 20px;
    margin-right: 18px;
}
.feature-text {
    font-size: 14px;
    font-weight: 600;
    color: #3d495b;
    line-height: 1.4;
}

.description-text {
    font-size: 16px;
    color: #232830;
    font-weight: 500;
    margin: 0;
    font-family: 'Source Sans Pro', sans-serif;
}

/* Badge Kiri Bawah */
.badge-footer {
    position: absolute;
    bottom: 35px;
    left: 40px;
    background-color: #1a2235;
    opacity: 0.5;
    padding: 15px 25px;
    border-radius: 12px;
    z-index: 3;
    font-family: 'Source Sans Pro', sans-serif;
}
.badge-title {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 4px 0;
}
.badge-subtitle {
    color: #cbd5e1;
    font-size: 11px;
    margin: 0;
}

/* Ornamen Lingkaran Halus */
.circle-ornament-bottom {
    position: absolute;
    bottom: 50px;
    right: 150px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(65, 104, 234, 0.15);
    border-radius: 50%;
    z-index: 1;
}

/* =====================================================
   PANEL KANAN (FORM LOGIN)
===================================================== */
.login-right-panel {
    width: 40%; /* Sisa layar */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

/* Ornamen Titik Kanan Atas */
.dots-ornament {
    position: absolute;
    top: 50px;
    right: 50px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(#cbd5e1 2px, transparent 2px);
    background-size: 15px 15px;
}

.login-card {
    background-color: #ffffff;
    width: 100%;
    max-width: 400px;
    padding: 45px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 2;
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}
.login-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}
.login-header p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* Input Fields */
.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}
.input-field {
    width: 100%;
    height: 52px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 15px 10px 45px;
    font-size: 14px;
    color: #1e293b;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: 0.3s;
}
.input-field::placeholder { color: #94a3b8; }
.input-field:focus {
    outline: none;
    border-color: #4168ea;
}
.input-icon-left {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
}
.input-icon-right {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 16px;
    cursor: pointer;
}

/* Checkbox & Forgot Password */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    color: #1e293b;
    font-weight: 500;
}
.custom-checkbox input { display: none; }
.checkmark {
    width: 16px;
    height: 16px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    background-color: #fff;
}
.custom-checkbox input:checked ~ .checkmark {
    background-color: #4168ea;
    border-color: #4168ea;
}
.custom-checkbox input:checked ~ .checkmark::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.forgot-password {
    font-size: 13px;
    color: #4168ea;
    text-decoration: none;
    font-weight: 500;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    height: 52px;
    background-color: #4168ea;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}
.btn-submit:hover {
    background-color: #3156d8;
}

/* Floating Icon Kanan Bawah */
.floating-shield {
    position: absolute;
    bottom: 35px;
    right: 40px;
    width: 45px;
    height: 45px;
    background-color: #ffffff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #4168ea;
    font-size: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* =====================================================
   RESPONSIVE (MOBILE)
===================================================== */
@media(max-width: 992px) {
    .description-text {
        display: none;
    }

    body.login-page { overflow-y: auto; }
    .login-wrapper { flex-direction: column; }
    .login-left-panel {
        width: 100%;
        height: auto;
        padding: 50px 20px;
        border-radius: 0 0 40px 40px;
        justify-content: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .left-gradient-overlay {
        background: linear-gradient(to bottom, rgba(238, 244, 255, 0) 0%, #eef4ff 40%, #eef4ff 100%);
    }
    .welcome-content { margin-top: 150px; text-align: center; }
    .feature-box { justify-content: center; text-align: left; }
    .login-right-panel { width: 100%; padding: 40px 20px; }
    .badge-footer, .circle-ornament-bottom, .dots-ornament, .floating-shield { display: none; }
}

/* =====================================================
   ERROR
===================================================== */
.toast-login-container{
    margin-top:15px;
    color:#e14141;
    display:none;
}

/* =====================================================
   SHAKE
===================================================== */
@keyframes shake{
    0%{transform:translateX(0);}
    20%{transform:translateX(-4px);}
    40%{transform:translateX(4px);}
    60%{transform:translateX(-3px);}
    80%{transform:translateX(3px);}
    100%{transform:translateX(0);}
}

.shake{
    animation:shake .35s;
}

/* .login-ring{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
}

.ring {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}
.ring i {
    position: absolute;
    inset: 0;
    border: 2px solid #fff;
    transition: 0.5s;
}
.ring i:nth-child(1) {
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    animation: animate 6s linear infinite;
}
.ring i:nth-child(2) {
    border-radius: 41% 44% 56% 59%/38% 62% 63% 37%;
    animation: animate 4s linear infinite;
}
.ring i:nth-child(3) {
    border-radius: 41% 44% 56% 59%/38% 62% 63% 37%;
    animation: animate2 10s linear infinite;
}
.ring:hover i:nth-child(1) {
    border: 6px solid red;
    -webkit-filter: drop-shadow(0 0 20px red);
    filter: drop-shadow(0 0 20px red);
}
.ring:hover i:nth-child(2) {
    border: 6px solid green;
    -webkit-filter: drop-shadow(0 0 20px green);
    filter: drop-shadow(0 0 20px green);
}
.ring:hover i:nth-child(3) {
    border: 6px solid #213164;
    -webkit-filter: drop-shadow(0 0 20px #213164);
    filter: drop-shadow(0 0 20px #213164);
}
@keyframes animate {
0% {
    transform: rotate(0deg);
}
100% {
    transform: rotate(360deg);
}
}
@keyframes animate2 {
0% {
    transform: rotate(360deg);
}
100% {
    transform: rotate(0deg);
}
} */

/* SweetAlert-like modal animation */
.modal.fade .modal-dialog {
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.15s ease-out;
}

.modal.in .modal-dialog,
.modal.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

.modal-backdrop {
    transition: opacity 0.1s linear;
}

/* Rounded modal (Bootstrap 3 / AdminLTE 2) */
.modal-content {
    border-radius: 5px;
    border: none;
}

/* Set 100% datatables */
.dataTables_wrapper {
  width: 100%;
  overflow-x: hidden;
}

table.dataTable {
  width: 100% !important;
}

/* Pace */
/* .pace {
    cursor: not-allowed;
} */

.pace .pace-progress {
    background: #213164;
    height: 4px;
}

/* Overlay layar */
.pace::before {
    content: "";
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    opacity: 1;
    transition: opacity 0.5s ease;
    /* backdrop-filter: blur(1px); */
    pointer-events: all;
}

/* saat selesai loading */
.pace-inactive::before {
    opacity: 0;
    pointer-events: none;
    /* cursor: default; */
}

/* progress bar juga fade */
.pace-inactive .pace-progress {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Tombol Aksi */
.action-wrapper {
    width: 100%;
}

.action-item {
    margin-bottom: 5px;
}

/* JARAK ANTAR TOMBOL TANPA MENGURANGI LEBAR */
.action-btn > .btn {
    margin: 0 2px;
    font-size: 9px;
}

/* FIX Bootstrap 3 justified spacing */
.action-btn > .btn:first-child {
    margin-left: 0;
}
.action-btn > .btn:last-child {
    margin-right: 0;
}

.dropdown-menu>li>a {
    cursor:pointer;
}

.dropdown-menu>li>div>a {
    display: block;
    /* padding: 3px 20px; */
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #777;
    white-space: nowrap;
}

.dropdown-menu>li>div>a:hover {
    background-color: rgb(225 227 233);
    color: #444;
}

.disabled-link {
    cursor: not-allowed !important;
    opacity: 0.6;
}

.disabled-link a{
    pointer-events: none;
}

.action-wrapper:has(a.disabled-link-btn) {
    cursor: not-allowed;
}

.disabled-link-btn {
    opacity: 0.6;
    pointer-events: none;
}

.row-flex {
    display: flex;
    flex-wrap: wrap;
}

.row-flex > [class*='col-'] {
    display: flex;
}

.row-flex .box {
    width: 100%;
}

/* SUMMARY CARD */
.sum-row{
    display:flex;
    flex-wrap:wrap;
    margin-bottom:20px;
}

.sum-col{
    display:flex;
    margin-bottom:15px;
}

.sum-card{
    background:#ffffff;
    border-radius:10px;
    padding:18px;
    display:flex;
    align-items:center;
    gap:15px;
    box-shadow:0 4px 14px rgba(0,0,0,0.05);
    transition:all 0.2s ease;
    border:1px solid #f1f1f1;
    width:100%;
}

.sum-card:hover{
    transform:translateY(-3px);
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
}

.sum-icon{
    width:48px;
    height:48px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    color:white;
    flex-shrink:0;
}

.sum-icon.blue { 
    background:linear-gradient(135deg,#4e73df,#224abe); 
}
.sum-icon.green { 
    background:linear-gradient(135deg,#1cc88a,#13855c); 
}
.sum-icon.orange { 
    background:linear-gradient(135deg,#f6c23e,#dda20a); 
}
.sum-icon.red { 
    background:linear-gradient(135deg,#e74a3b,#be2617); 
}

.sum-content{
    flex:1;
}

.sum-label{
    font-size:13px;
    color:#777;
    margin-bottom:5px;
}

.sum-number{
    font-size:22px;
    font-weight:600;
    color:#333;
}

/* mobile optimization */
@media (max-width:992px){
    .sum-card{
        padding:14px;
        margin-bottom: 5px;
    }

    .sum-number{
        font-size:20px;
    }

    .sum-icon{
        width:42px;
        height:42px;
        font-size:16px;
    }
}

/* css button */
.btn-success { 
  background:linear-gradient(135deg,#2ecf8f,#159d6e);
  border:none;
}

.btn-primary { 
  background:linear-gradient(135deg,#5a7be6,#2f55c7);
  border:none;
}

.btn-warning { 
  background:linear-gradient(135deg,#f3c85a,#e0a91c);
  border:none;
}

.btn-danger { 
  background:linear-gradient(135deg,#e96052,#c93626);
  border:none;
}

.btn-info { 
  background:linear-gradient(135deg,#6ad9ee,#18b6d4);
  border:none;
}

.btn-default { 
  background:linear-gradient(135deg,#e9ecef,#c9ced3);
  border:none;
}

.btn-white { 
  background:linear-gradient(135deg,#fff,#f8f8f8);
  border:1px solid #969696;
}

.btn {
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.page-item.active .page-link {
    background:linear-gradient(135deg,#5a7be6,#2f55c7) !important;
    color:#fff !important;
}

/* tabs */
.nav-tabs-custom {
    border-top: 4px solid #1E58C1;
    border-radius: 10px;
    overflow: hidden;
}

.nav-tabs-custom > .nav-tabs > li.active {
    border-top-color: #fff;
}

.nav-tabs-custom > .nav-tabs > li.active > a {
    color: green;
    font-weight: 600;
}

/* User profile */
.user-avatar{
    width:45px;
    height:45px;
    border-radius:50%;
    background:#2f4b9a;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:25px;
    font-weight:600;
    border:2px solid rgba(255,255,255,0.7);
}

.sidebar-collapse .user-avatar{
    width:28px;
    height:28px;
    font-size:14px;
    margin:auto;
}

.nama-user{
    width:145px;
    white-space:nowrap;
    overflow:hidden;
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent);
    mask-image: linear-gradient(to right, black 80%, transparent);
    /* font-size: 13.5px; */
}

.nama-tooltip{
    cursor:pointer;
}

.btn {
    border-radius: 5px;
}

.label{
    border-radius:5px;
}

.bg-avis {
    background: #4168ea;
}

.user-panel {
    margin-top:-38px;
}

@media(max-width: 767px) {
    .main-header .logo {
        display: none;
    }

    .main-sidebar{
        padding-top: 70px;
    }

    .user-panel {
        margin-top:0px;
    }
}
