

/*FONTS*/
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  src: url('/public/fonts/DMSerifDisplay-Regular.ttf');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('/public/fonts/Poppins-Regular.ttf');
}
@font-face {
  font-family: 'Poppins';
  font-style: bold;
  font-weight: 700;
  src: url('/public/fonts/Poppins-Bold.ttf');
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('/public/fonts/Roboto-Regular.ttf');
}

@font-face {
  font-family: 'Roboto';
  font-style: bold;
  font-weight: 700;
  src: url('/public/fonts/Roboto-Bold.ttf');
}

@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400;
  src: url('/public/fonts/RobotoMono-Regular.ttf');
}

@font-face {
  font-family: 'Roboto Mono';
  font-style: bold;
  font-weight: 700;
  src: url('/public/fonts/RobotoMono-Bold.ttf');
}



:root {
    --primary:#07e;
    --bg: #fff;
    --bg01:rgba(255,255,255,0.1);
    --bg02:rgba(255,255,255,0.2);
    --bg1: #eee;
    --fg: #000;
    --fg005:rgba(0,0,0,0.05);
    --fg01:rgba(0,0,0,0.1);
    --fg02:rgba(0,0,0,0.2);
    --fg05:rgba(0,0,0,0.5);
    --fg07:rgba(0,0,0,0.7);
    --font:"roboto-bold";
}
.darkmode{
    --bg: #000;
    --bg01:rgba(0,0,0,0.1);
    --bg02:rgba(0,0,0,0.2);
    --bg1: #111;
    --fg: #fff;
    --fg01:rgba(255,255,255,0.1);
    --fg02:rgba(255,255,255,0.2);
    --fg05:rgba(255,255,255,0.5);
    --fg07:rgba(255,255,255,0.7);
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: rgb(226 232 240);
}
::-webkit-scrollbar-thumb {
  background:  rgb(148 163 184);
  border-radius: 100px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgb(100 116 139);
}



html, body{
    height: 100%;
    overscroll-behavior: none;
}
body{
    background: var(--bg);
    color: var(--fg);
    font-family: 'Roboto';
}

/* INPUT ROW */
.input-row{
    display: flex;
    position: relative;
    border-bottom:1px solid rgb(28 167 255 / 27%);
}
.input-icon{
    font-size: 1.2em;
    color: #777;
    padding: 12px 11px;
}
div.input-icon{
    font-size: .8em;
    color: #888;
    padding: 12px 12px;
}

.input,
.select{
    position: relative;
    z-index: 1;
    font-size: 1.1em;
    padding: 10px 7px;
    padding-right: 10px;
    border: none;
    background: transparent;
    outline: 0;
    box-sizing: border-box;
    width: 100%;
    position: relative;
    -webkit-tap-highlight-color:  rgba(255, 255, 255, 0); 
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}
textarea.input{
    height: 100px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0 7px;
    font-size: .9em;
}
textarea.full{
    height: 99%;
}

.input-label{
    text-transform: capitalize;
    font-size: .9em;
    position: absolute;
    margin-left: 38px;
    margin-top: 14px;
    padding: 0 10px;
    border-radius: 3px;
    border:1px solid transparent;
    transition: .3s;
}


.input:focus ~ .input-label,
select:valid ~ .input-label,
.input:not(:placeholder-shown) ~ .input-label{
    font-size: .7em;
    transform: translate3d(0, -20px, 0);
    color: var(--fg);
}

input[type="radio"]:checked ~ span{
    background: #def;
    border-color:#5af;
    color:#05a;
}

.input-row:has(> .input:focus),
.input-row:has(> .select:focus) {
    border-bottom: 1px solid #00f;
}

.tabulator-row.tabulator-selected {
    background-color: #4CAF50; /* Hijau */
    color: white; /* Teks putih */
}
 /* Opsional: Mengubah warna saat baris dipilih dan di-hover */
.tabulator-row.tabulator-selected:hover {
    background-color: #45a049; /* Warna hijau yang lebih gelap saat di-hover */
}


/* TABULATOR */
.tabulator{
    height: 100%;
    background: rgb(241 245 249);
    border:1px solid rgb(241 245 249);
    font-family: "Roboto Mono";
    font-size: 12px;
}
.tabulator .tabulator-footer {
    background: rgb(241 245 249);;
}
.tabulator .tabulator-header .tabulator-col{
    background: rgb(241 245 249);;
}
.tabulator-row.tabulator-row-even {
    background: rgb(248 250 252);
}
.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight {
    background: rgb(226 232 240);
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{
    color: rgb(15 23 42); 
    text-transform: uppercase;
}
.tabulator .tabulator-header {
    background: rgb(241 245 249);;
    border: none;
}
.tabulator-row .tabulator-cell{
    border-right: 1px solid #ddd;
}
.tabulator .tabulator-header .tabulator-col {
    border-right: 1px solid #fff;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover {
    background: rgb(226 232 240);
}
.tabulator-menu .tabulator-menu-item{
    display: flex;
    gap: 10px;
    padding: 7px 15px;
}
.tabulator-popup-container{
    border:none;
    box-shadow: 5px 5px 20px rgba(0,0,0,0.3);
    border-radius: 5px;
    padding: 3px 0;
}
.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{
    background: rgb(241 245 249) !important;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{
    color:black;
    text-transform: uppercase;
}

.tabulator-print-table th {
    text-transform: uppercase; /* Membuat teks menjadi huruf besar */
}


.ptr--ptr .ptr--icon{
    color: #fff;
    opacity: .5;
}
.ptr--ptr .ptr--text{
    color: #fff;
    opacity: .5;
}