:root {
    /* Variabel Warna */
    --crystal-color: #d40000; /* Cyan/Biru muda */
    --orbiter-color: #8093ef;
}

/*
|--------------------------------------------------------------------------
| section
|--------------------------------------------------------------------------
*/
body {
    font-size: 0.7rem;
}
label {
    margin-bottom: 0.1rem;
    font-size: 0.7rem;
}
.btn-sm, .btn-group-sm > .btn {
  padding: 0.2rem 0.4rem;
  font-size: 0.875rem;
  line-height: 1.25;
  border-radius: 0.2rem;
}
.btn {
  font-weight: 250;
  padding: 0.325rem 0.55rem;
  font-size: 0.1rem;
  line-height: 1;
  border-radius: 0.2rem;
}

.select2-container--default .select2-selection--multiple {
  border: 1px solid #ced4da;
  min-height: calc(1.75rem + 2px);
}

/*
|--------------------------------------------------------------------------
| login, register
|--------------------------------------------------------------------------
*/
.login-page,
.register-page {
    background-image:url('/template/phoenix/assets/img/bg/bg-36.png');
    background-size: cover;
}
.login-box-msg,
.register-box-msg {
    font-size: 0.8rem;
}
.login-box-version,
.register-box-version {
    font-size: 0.7rem;
}
/*
|--------------------------------------------------------------------------
| form
|--------------------------------------------------------------------------
*/
.form-control-sm {
    font-size: 0.75rem;
}
.btn {
    font-size: 0.75rem;
}
.invalid-feedback{
    font-size: 0.6rem;
}
.toast-message {
    font-size: 0.7rem;
}
.select2-container .select2-selection--single {
    /* background-color: #454d55; */
    /* color: #fff; */
    padding-left: 1px;
    padding-top: 7px;
    font-size: 0.75rem;
}
.select2-dropdown {
    font-size: 0.75rem;
}
.select2-selection__arrow {
    margin-top: 5px;
}
.select2-container .select2-selection--multiple {
    /* background-color: #454d55; */
    /* color: #fff; */
}
.select2-container .select2-selection--single .select2-selection__rendered {
    /* color: #fff; */
}

.btn-action {
    padding-top: 0;
    padding-bottom: 0;
    height:16px;
}

.dropdown-item {
    font-size: 0.75rem;
}

.custom-file-label {
    height:32px;
}
/*
|--------------------------------------------------------------------------
| navbar
|--------------------------------------------------------------------------
*/
.layout-navbar-fixed .wrapper .content-wrapper {
    margin-top: calc(3.2rem + 1px);
}
.navbar {
    padding: 0.1rem 0.1rem;
}
.navbar-nav {
    margin-top: 12px;
}
.navbar-nav .dropdown-menu {
    font-size: 0.75rem;
}

.brand-link {
    margin-top: 3px;
    height: calc(3.2rem + 1.5px);
    /* background-color: #fff; */
}

.brand-text {
    font-size: 1.3rem;
    /* color: #454d55; */
    font-weight: bold;
}
/*
|--------------------------------------------------------------------------
| footer
|--------------------------------------------------------------------------
*/
.main-footer {
    font-size: 0.7rem;
}
/*
|--------------------------------------------------------------------------
| card
|--------------------------------------------------------------------------
*/
.card-title {
    font-size: 0.7rem;
}
/*
|--------------------------------------------------------------------------
| nestable
|--------------------------------------------------------------------------
*/
.dd .dd-item .dd-handle {
    /* background-color: #454d55;
    color: #fff; */
}
/*
|--------------------------------------------------------------------------
| datetimepicker
|--------------------------------------------------------------------------
*/
.bootstrap-datetimepicker-widget {
    font-size: 0.7rem;
}

.bootstrap-datetimepicker-widget table thead tr:first-child th:hover {
  /* background-color: #0067d6; */
}

.bootstrap-datetimepicker-widget table td.day:hover,
.bootstrap-datetimepicker-widget table td.hour:hover,
.bootstrap-datetimepicker-widget table td.minute:hover,
.bootstrap-datetimepicker-widget table td.second:hover {
  /* background-color: #ACD02D; */
}
/*
|--------------------------------------------------------------------------
| datatable
|--------------------------------------------------------------------------
*/
div.dt-buttons .dt-down-arrow {
    display: none;
}
div.dt-buttons .dt-button-collection {
    /* background-color: #454d55; */
}

table.dataTable tbody tr.selected>* {
    box-shadow: inset 0 0 0 9999px rgb(0, 123, 255) !important;
    color: #fff;
}
/*
|--------------------------------------------------------------------------
| modal
|--------------------------------------------------------------------------
*/
.modal-header {
    padding: 0.7rem;
}   

.modal-title {
    margin-top: 3px;
}
.modal-header .close, .modal-header .mailbox-attachment-close {
    padding: 0.75rem;
}
.modal-footer {
    padding: 0.5rem;
}
/*
|--------------------------------------------------------------------------
| context-menu
|--------------------------------------------------------------------------
*/
.context-menu-icon.context-menu-icon--fa5 i,.context-menu-icon.context-menu-icon--fa5 svg{
    margin-top: 2px;
}
/*
|--------------------------------------------------------------------------
| stepper
|--------------------------------------------------------------------------
*/
.bs-stepper .step-trigger {
    padding: 10px;
    font-size: .75rem;
    font-weight: 400;
    line-height: .9;
}
.bs-stepper-content {
    padding: 0;
}
/*
|--------------------------------------------------------------------------
| table
|--------------------------------------------------------------------------
*/

.table.table-head-fixed thead tr:nth-child(1) th {
  background-color: #f4f6f9;
}

.table tbody tr:hover {
    background-color: lightgreen;
}

.table thead th {
  padding: 0.5rem;
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
}

.table tfoot th {
  padding: 0.5rem;
}

.table td {
  padding: 0.5rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

/* buat coba face recognation 
body {
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

canvas {
    position: absolute;
} */

/*
|--------------------------------------------------------------------------
| loading-overlay
|--------------------------------------------------------------------------
*/
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top of other content */
}

.loading-hidden {
    visibility: hidden;
}

.loading-show {
    visibility: visible;
}

/* Add CSS for your spinner or loading indicator */
.loading-spinner {
    width: 48px;
    height: 48px;
    display: inline-block;
    position: relative;
}

.loading-spinner::after,
.loading-spinner::before {
    content: '';  
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFF;
    position: absolute;
    left: 0;
    top: 0;
    animation: animloader 2s linear infinite;
}
.loading-spinner::after {
    animation-delay: 1s;
}

@keyframes animloader {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}
    
/*
|--------------------------------------------------------------------------
| orbiter
|--------------------------------------------------------------------------
*/

.animation-orbiter-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    
    /* Menerapkan Animasi Naik-Turun (Float) pada seluruh sistem */
    animation: float 3s ease-in-out infinite; 
    margin: auto;
}

/* --- 1. Crystal (Inti) --- */
.crystal {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    background-color: var(--crystal-color);
    transform: translate(-50%, -50%) rotate(45deg);
    box-shadow: 
        0 0 15px var(--crystal-color), 
        0 0 25px rgba(0, 255, 234, 0.6); /* Efek Glow Intens */
}

/* --- 2. Orbiter (Sinar yang Mengelilingi) --- */
.orbiter {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px; /* Ukuran sinar */
    height: 8px;
    background-color: var(--orbiter-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--orbiter-color);
    transform-origin: 0% 0%; /* Titik rotasi dari pusat */
    
    /* Menerapkan Animasi Orbit */
    animation: orbit 6s linear infinite, spin 2s linear infinite reverse;
}

/* --- Mengatur Posisi Awal Orbiter di Lingkaran --- */
.orbiter-1 {
    animation-delay: 0s, 0s;
    transform: translate(-50%, -50%) rotate(0deg) translateX(70px);
}
.orbiter-2 {
    animation-delay: -1.5s, -0.5s; /* Menggeser fase waktu */
    transform: translate(-50%, -50%) rotate(90deg) translateX(70px);
}
.orbiter-3 {
    animation-delay: -3s, -1s;
    transform: translate(-50%, -50%) rotate(180deg) translateX(70px);
}
.orbiter-4 {
    animation-delay: -4.5s, -1.5s;
    transform: translate(-50%, -50%) rotate(270deg) translateX(70px);
}


/* --- ANIMASI KEYFRAMES --- */

/* 1. Animasi Naik-Turun (Float) */
@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05); /* Naik 20px dan sedikit membesar */
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

/* 2. Animasi Orbit (Mengelilingi Pusat) */
@keyframes orbit {
    from {
        transform: translate(-50%, -50%) rotate(0deg) translateX(70px);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg) translateX(70px);
    }
}

/* 3. Animasi Spin (Rotasi Tambahan pada Titik Cahaya) */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}