html {
    scroll-behavior: smooth;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    overflow-x: hidden;
    color: #000;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0
}

.font-caveat{font-family: 'Caveat', cursive !important;}
.font-playfair{font-family: "Playfair Display", serif;}
.font-roboto-mono{font-family: "Roboto Mono", monospace;}
.font-lato{font-family: "Lato", sans-serif;}
.font-roboto{font-family: "Roboto", sans-serif;}

.text-white{color: #ffffff !important;}
.text-black{color: #000000 !important;}
.text-primary{color: #243a4a !important;}
.text-grey{color: #bdbdbd !important;}
.test-grey2{color: rgb(65, 64, 64);}
.text-danger{color: #e7094c !important;}
.text-error{color: #cf1111 !important;}

.bg-white{background-color: #ffffff !important;}
.bg-grey{background-color: #bdbdbd !important;}
.bg-black{background-color: #000000 !important;}
.bg-primary{background-color: #243a4a !important;}
.bg-default{background-color: #243a4a !important;}
.bg-success {background-color: #076464 !important;}
.bg-warning {background-color: #f35632 !important;}
.bg-danger {background-color: #f12d68 !important;}
.bg-purple{background-color: #c98afd !important;}
.bg-indigo{background-color: #5603ad !important;}
.bg-info{background-color: #b5dde2 !important;}

.bg-smooth-danger {
    background-color: #fff8f8 !important;
}

.bg-smooth-success {
    background-color: #deffde !important;
}

.nomarg {
    margin: 0 0 0 0 !important;
    padding: 0 0 0 0 !important;
}

.strong, strong{
    font-weight: 600 !important;
}

.strip{
    position: fixed;
    background-color: #000000;
    height: 30px;
    width: 100%;
    z-index: 3;
}

.app-layout {
    display: flex;
    height: 100vh;
    width: 100%;
}

.main{
    margin-left:240px;
    width:calc(100% - 240px);

    height:100vh;
    overflow:auto;
}

.main-content{
    padding-top: 160px;
    padding-bottom: 40px;
    width: 97% !important;
    margin: auto !important;
}

/* section */
.first-section{
    padding-top: 170px;
    padding-bottom: 80px;
}

.section{
    margin-top: 40px;
    padding-bottom: 180px;
}

.section-content h1 {
    font-size: 39px;
    line-height: 57px !important;
}

.section-content h2 {
    font-size: 30px;
    line-height: 43px !important;
}

.section-content h3 {
    font-size: 27px;
    line-height: 38px !important;
}

.section-content h4 {
    font-size: 23px;
    line-height: 34px !important;
}

.section-content h5 {
    font-size: 18px;
    line-height: 30px !important;
}

.section-content p {
    font-size: 15.5px;
    line-height: 25px;
}

.section-content a {
    font-size: 15px;
}

.stat-card {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 15px 20px 15px 20px;
    width: 100%;
    margin-bottom: 20px;
}

.stat-title {
    font-size: 13px;
    font-weight: 600;
    color: #777;
    letter-spacing: 1px;
}

.stat-number {
    display: inline-block;
    transition: all 0.2s ease;
    font-size: 25px !important;
    font-weight: bolder;
}

.stat-link{
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
}

.stat-link a {
    font-size: 13px;
    color: #000000;
    text-decoration: none;
}

.stat-icon {
    margin-top: 0px;
    background: #000000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat-icon i {
    color: white;
    font-size: 28px;
}

/* Card Modul */
.card-dashboard{
    box-shadow: none !important;
    outline: none !important;
}

.card-dashboard .card-header{
    padding: 10px 15px 10px 15px;
    border: 1px solid #e0e0e0;
    border-top-right-radius: 14px !important;
    border-top-left-radius: 14px !important;
    border-bottom: 0px !important;
    font-size: 13px;
}

.card-dashboard .card-footer{
    padding: 6px 15px 10px 15px;
    border: 1px solid #e0e0e0;
    border-bottom-right-radius: 14px !important;
    border-bottom-left-radius: 14px !important;
    border-top: 0px !important;
}

.table-dashboard{
    margin-top: 0px;
    border: 1px solid #e0e0e0;
}

.rounded-header{
    border-collapse: separate;
    border-top-right-radius: 14px !important;
    border-top-left-radius: 14px !important;
    border-bottom: 0px !important;
}

.table-dashboard tr th{
    padding: 10px 0px 10px 0px;
    font-size: 14px;
}

.table-dashboard tr td{
    border-top: 1px solid #e0e0e0;
    padding: 10px 0px 10px 0px;
    font-size: 14px;
    border-right: 0px !important;
    border-left: 0px !important;
}

.table-dashboard tr:last-child td{
    border-bottom: 1px solid #e0e0e0;
}

.loading-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px; /* Mengikuti default td */
}

.spin {
    animation: rotation 1s infinite linear;
    display: inline-block;
}

@keyframes rotation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hoverable-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.hoverable-row:hover {
    background-color: #fafafa !important;
}

/* Auth */
.auth-header {
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
}

.card-login{
    width: 90%;
    max-width: 400px;
    margin:auto;
    border-radius: 10px;
    border: 1px solid #243a4a;
    box-shadow: none;
    z-index: 2;
}

.card-register{
    width: 90%;
    max-width: 800px;
    margin:auto;
    border-radius: 10px;
    border: 1px solid #243a4a;
    box-shadow: none;
    z-index: 2;
}

.card-login .content{
    padding-top: 25px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 25px;
}

.card-register .content{
    padding-top: 10px;
    padding-left: 35px;
    padding-right: 35px;
    padding-bottom: 0px;
}

.card-login form,
.card-register form{
    padding-top: 10px;
}

.card-login .judul-form,
.card-register .judul-form{
    font-size: 13px;
    font-weight: bolder;
    margin-top: 20px;
    margin-bottom: 0px;
}

.card-login form input,
.card-register form input{
    margin-bottom: 15px;
    margin-top: 5px;
}

.text-credential{
    font-size: 13px;
    padding-top: 5px;
}

/* Form */
.form-min{
    height: 30px !important; 
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.form-search,
.select2-container .select2-selection--single {
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    display: block;
    width: 100%;
    height: calc(1.5em + 1.25rem + 2px);
    padding: .625rem .75rem;
    transition: all .15s cubic-bezier(.68, -.55, .265, 1.55);
    color: #363636;
    border: 1px solid #acacac;
    border-radius: .25rem;
    background-color: #fff;
    background-clip: padding-box;
    box-shadow: 0 3px 2px rgba(233, 236, 239, .05);
}

.area-tulis {
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
    display: block;
    width: 100%;
    height: 100%;
    max-height: 150px;
    padding: .625rem .75rem;
    transition: all .15s cubic-bezier(.68, -.55, .265, 1.55);
    color: #363636;
    border: 1px solid #acacac;
    border-radius: .25rem;
    background-color: #fff;
    background-clip: padding-box;
    box-shadow: 0 3px 2px rgba(233, 236, 239, .05);
}

.form-search:focus {
    border-color: #000000;
    outline: 0;
    background-color: #fff;
    box-shadow: 0 3px 9px rgba(50, 50, 9, 0), 3px 4px 8px rgba(94, 114, 228, .1);
}

.area-tulis:focus {
    border-color: #000000;
    outline: 0;
    background-color: #fff;
    box-shadow: 0 3px 9px rgba(50, 50, 9, 0), 3px 4px 8px rgba(94, 114, 228, .1);
}

.form-text{
    line-height: 19px !important;
    font-size: 12px !important;
}

.select2-search--dropdown .select2-search__field{
    border-radius: .25rem !important;
    height: 2.5rem !important;
    font-size: 12px !important;
}

form [type="radio"]:not(:checked)+span:before,
form [type="radio"]:not(:checked)+span:after {
    border: 2px solid #000000 !important;
}

form [type="radio"]:checked+span:after,
form [type="radio"].with-gap:checked+span:before,
form [type="radio"].with-gap:checked+span:after {
    border: 2px solid #000000;
}

form [type="radio"]:checked+span:after,
form [type="radio"].with-gap:checked+span:after {
    background-color: #000000;
}

[type="checkbox"]{
    border: 1px solid #acacac !important;
    box-shadow: 0 3px 2px rgba(233, 236, 239, .05) !important;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding-top: 15px;
}

[type="checkbox"]:checked+span:not(.lever):before{
    border-right: 2px solid #000000;
    border-bottom: 2px solid #000000;
}

.select-wrapper input.select-dropdown {
    border-bottom: none !important;
    box-shadow: none !important;
    margin-top: -13px;
    font-size: .875rem;
}

/* Card Heading */
.card-heading{
    box-shadow: none !important;
    outline: none !important;
    border: 1px solid #a6aaad;
    border-radius: 10px;
}

.card-heading .card-content{
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 20px;
    padding-right: 20px;
}

.card-heading ul li{
    padding-top: 7px;
    padding-bottom: 7px;
    line-height: 15px !important;
    color: #000;
}

/* Modal Delete */
.modal-delete-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
}
.modal-delete {
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(to bottom right, rgb(248, 40, 3), #d86405);
    color: #ffffff;
}
.modal-delete-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}
.modal-delete-header button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #ffffff;
}
.modal-delete-content {
    padding: 15px 25px;
    text-align: center;
}

/* Button */
.btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-transform: capitalize;
    margin-top: 5px;
    margin-right: 8px;
    border-radius: 50px !important;
    box-shadow: none !important;
    outline: none !important;
}

.btn:hover,
.btn:active,
.btn:focus {
    box-shadow: none;
    outline: none;
}

.btn-xs {
    height: 28px;
    line-height: 26px;
    font-size: 13px !important;
}

.btn-vxs {
    height: 25px;
    line-height: 20px;
    font-size: 12px !important;
    padding-left: 10px;
    padding-right: 10px;
}

.btn-vvxs {
    height: 20px;
    line-height: 16px;
    font-size: 12px !important;
    padding-left: 10px;
    padding-right: 10px;
}

.btn-primary {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid black !important;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.btn-secondary {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid black !important;
}

.btn-secondary:hover,
.btn-secondary:active,
.btn-secondary:focus {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.btn-white,
.btn-white:hover,
.btn-white:active,
.btn-white:focus {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.btn-abu,
.btn-abu:hover,
.btn-abu:active,
.btn-abu:focus {
    background-color: #fff !important;
    color: #999 !important;
    border: 1px solid #999 !important;
}

.btn-icon-left {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 25px;
    line-height: 20px;
    font-size: 13px !important;
    padding-left: 10px;
    padding-right: 10px;
}

.btn-icon-left .material-symbols-outlined {
    position: absolute;
    left: 6px;
    font-size: 18px;
}

/*Scroll Bar*/
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background: transparent !important;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #000000;
}

/* Captcha */
.grecaptcha-badge {
    transform: scale(0.8);
    bottom: 70px !important;
    box-shadow: none !important;
}