
/*
You can set styles for different pages
Examples:

body.products-index {
	background:url('../images/stok.jpg');
	background-size:cover;
}

body.products-view {
	background:url('../images/stok.jpg');
	background-size:cover;
}

body.products-index, body.products-view, body.products-view, body.products-edit {
	background:#fafafa;
	color:red;
}

body.index-index {

}

body.home-index {

}

body.index-register {
	
}
*/

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
.ajax-progress-bar{
	display: none;
}
.ajax-page-load-indicator{
	position:absolute;
	z-index:9999;
	display: none;
	text-align: center;
    top: 0;
	left: 0;
	width: 100%;
	height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    background-position: center;
	background-repeat: no-repeat;
    content: "";
}
.ajax-page-load-indicator .load-indicator{
	margin: 20% auto;
	width: 150px;
	background-color: #fff;
	padding: 10px;
	border-radius:5px;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.page-content.loading, table.loading{
	overflow: hidden;
	position: relative;
}

#page-content {
    min-height: 75vh;
}
.password-strength-msg .chip{
	font-weight: 500;
	background-color: rgba(0, 0, 0, 0.1);
	font-size: x-small;
	padding: 1px 3px;
	border-radius: 3px;

}
td, th{
	position:relative;
}

td .is-editable{
	border-bottom:none;
	border-bottom: 1px dashed #ccc;
}

td .is-editable:hover{
	border-bottom: 1px dashed rgba(40, 120, 50, 0.081);
}

.editable-error-block {
	color:red;
}

td .inline-edit-btn{
	position:absolute;
	right:10px;
	display:none;
	top:5px;
}

td:hover .inline-edit-btn{
	display:block;
}
.search-input{
	position: relative;
}
.search-input .holder{
	position: absolute;
	z-index: 1000;
	box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
	width: 100%;
	display: none;
}
.search-input .search-result{
	max-height: 300px;
	overflow-y: auto;
}
.search-input .search-result .search-link{
	display: block;
	text-decoration: none;
	padding: 10px;
	border-bottom: 1px solid #eee;
}
.search-input .search-result .search-link:hover{
	background-color: rgba(40, 120, 50, 0.081);
}

.selectize-control{
	min-width: 150px;
}
.was-validated .dropzone.required.dz-started{
	border-color:#55cc55 !important;
}

.was-validated  .selectize-input.full{
	border-color:#55cc55 !important;
}

.was-validated  .selectize-input.invalid{
	border-color:red !important;
}

.export-link-btn img{
	width:24px;
	height:24px;
}

.dropzone-input{
	opacity:0;
	position:fixed;
	width:0;
	height:0;
	left:0;
	top:0;
	display:none;
}
.sm-gutters {
    margin-right: -10px;
    margin-left: -10px;
}

.sm-gutters>[class*=col-] {
    padding-right: 10px;
    padding-left: 10px;
}

.md-gutters {
    margin-right: -20px;
    margin-left: -20px;
}

.md-gutters>[class*=col-] {
    padding-right: 20px;
    padding-left: 20px;
}

.lg-gutters {
    margin-right: -35px;
    margin-left: -35px;
}

.lg-gutters>[class*=col-] {
    padding-right: 35px;
    padding-left: 35px;
}

.pagination .material-icons {
    font-size: 15px;
}

.nav-tabs.flex-column {
    border-bottom: none !important;
}


.custom-file-label {
	white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.star-rating .star {
	position: relative;
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: .9em;
	margin-right: .9em;
	margin-bottom: 1.2em;
	border-right: .3em solid transparent;
	border-bottom: .7em  solid #ccc;
	border-left: .3em solid transparent;
	/* Controlls the size of the stars. */
	font-size: 12px;
  }
.star-rating .star:before, .star-rating .star:after {
content: '';
display: block;
width: 0;
height: 0;
position: absolute;
top: .6em;
left: -1em;
border-right: 1em solid transparent;
border-bottom: .7em  solid #ccc;
border-left: 1em solid transparent;
-webkit-transform: rotate(-35deg);
		transform: rotate(-35deg);
}
.star-rating .star:after {
-webkit-transform: rotate(35deg);
		transform: rotate(35deg);
}
.star-rating .star.active{
	border-bottom-color: #fc0;
}
.star-rating .star.active:before, .star-rating .star.active:after{
	border-bottom-color: #fc0;
}

.td-check-button{
	font-size: 28px;
	color:#999;
}
.td-check-button.checked{
	color:#55cc55;
}
.filter-chip{
    display: inline-block;
	margin-right:5px;
	margin-bottom:5px;
	padding:4px 5px;
}


.filter-chip .close-btn{
	text-decoration:none;
}

.accordion-group .accordion-header {
    position: relative;
    cursor: pointer;
    padding: 10px;
}

.accordion-group .accordion-header:hover {
    background: rgba(0, 0, 0, 0.05);
}

.accordion-group .accordion-header .expand {
    position: absolute;
    right: 10px;
    top: 5px;
}

.dropdown-toggle[aria-expanded="true"]:after {
	transform: rotate(180deg);
  }
.dropdown-toggle.inverse:after {
	transform: rotate(180deg);
}
.dropdown-toggle:after {
	transition: 0.5s;
}

.sortedby{
	background: rgba(0, 0, 0, 0.06);
}
.sortedby .sort-icon{
	color: #55cc55;
}
.th-sort-link{
    display: block;
    text-decoration: none !important;
	position: relative;
	color: inherit;
}
.sort-icon{
	position: absolute;
	right: 10px;
	top: 10px;
}
.data-select .load-indicator {
    position: absolute;
    right: 30px;
    top: 7px;
}

.data-select {
    position: relative;
}

.page-footer {
    padding: 10px 0;
}

.page-header {
    padding: 10px 0;
}

.fixed-sticky {
    position: fixed;
}

hr.sm {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.popover.inline-page .popover-header{
	padding: 0;
	background: none;
	border: none;
	position: relative;
}

.popover.inline-page .popover-header .close{
	position: absolute;
	right:10px;
	top:10px;
	width: 30px;
	height: 30px;
	float: none;
	text-align: center;
	z-index: 3000;
}
.close {
	cursor: pointer;
}
.inline-page.popover{
    max-width:100%;
}
.inline-page .popover-body{
    padding: 0px !important; 
}
/* Reset any container in side a column to take the size of the column  */

.comp-grid .container-fluid,
.comp-grid .container {
    padding: 0 !important;
    width: auto !important;
}

.comp-grid .py-2,
.comp-grid .border-bottom {
    padding: 0 !important;
    border: none !important;
}

.reset-grids .container .comp-grid, .reset-grids .container-fluid .comp-grid{
	max-width:100% !important;
	flex:0 0 100% !important;
}
#main-page-modal .card-body{
	padding:0 !Important;
} 
.modal .modal-body.p-0 form{
    padding: 1.4rem;
}
.modal .container,
.modal .container-fluid {
    width: auto;
    padding: 0;
    margin: 0;
}

.page-modal .modal-header {
    display: none;
}

.page-modal .modal-footer {
    display: none;
}

.fixed-alert {
    position: fixed;
    z-index: 2000;
}

.fixed-alert.bottom-left {
    bottom: 10px;
    left: 10px;
}


input[type="radio"],
input[type="checkbox"] {
    vertical-align: middle;
}

@media (min-width: 768px) {
	.collapse.collapse-lg {
		display: block;
		height: auto !important;
		visibility: visible;
	}
}

.menu-profile {
    padding: 0;
    background: rgba(0, 0, 0, 0.1);
    position: relative;
    display: block;
}

.menu-profile a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-fixed-left .navbar-nav > li.menu-profile > a.avatar {
    padding: 0 !important;
}

.menu-profile .user-name {
    padding: 10px;
    display: block;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
}

.menu-profile .avatar-icon .material-icons {
    font-size: 64px;
}

.menu-profile img.user-photo {
    height: 60px;
    width: 60px;
    display: block;
       object-fit: contain;   /* INI PENTING */
    border-radius: 10px;   /* opsional */
}

.menu-profile .menu-dropdown {
    position: absolute;
    right: 15px;
    top: 15px;
}

.flex-column.nav a.nav-link .badge {
    position: absolute;
    right: 5px;
    top: 30%;
}

.nav a.nav-link {
    position: relative;
}

.jumbotron.mini {
    padding: 20px;
    margin-bottom: 0;
}

.jumbotron.sm {
    padding: 15px;
    margin-bottom: 0;
}

.jumbotron.xs {
    padding: 8px;
    margin-bottom: 0;
}




section.page .page-title {
    margin: 20px auto;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.flash-msg-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999999;
}

.section-title {
    padding: 5px 0;
}

.table tr td {
    vertical-align: middle !important;
}

.bold {
    font-weight: bold;
}

.custom-list {
    position: relative;
}

.custom-list .menu-controls-holder {
    position: absolute;
    right: 10px;
    top: 10px;
}

.detail-list {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-list .title {
    font-weight: bold;
}

.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.option-btn {
    margin: 1px 0 1px;
}

.detail-list .value {
    font-weight: bold;
}

.btn.btn-flat {
    background: none;
}

.btn-group,
.btn-group-vertical {
    margin: 0;
}

.table {
    margin-bottom: 0;
}

.page-list-record-detail input {
    padding: 5px 5px;
    background: #fafafa;
    border: 1px solid #ddd;
    width: 50px;
    text-align: center;
}

.page-list-record-detail .info {
    padding: 5px 5px;
    background: #eee;
    display: inline-block;
}

.table>thead>tr>th {
    vertical-align: middle;
}

.pager {
    margin: 0;
}

.footer {
    margin-top: 30px;
    padding: 20px 0;
}

.footer .copyright {
    text-transform: capitalize;
}

.footer .footer-links a {
    display: inline-block;
    padding: 0 5px;
    text-transform: capitalize;
}

.table-borderless tbody tr td,
.table-borderless tbody tr th,
.table-borderless thead tr th {
    border: none;
}

.radius-5 {
    border-radius: 5px;
}

.pad-10 {
    padding: 10px;
}

.center-block {
    float: none;
}

.gutter-20.row {
    margin-right: -10px;
    margin-left: -10px;
}

.gutter-20>[class^="col-"],
.gutter-20>[class^=" col-"] {
    padding-right: 10px;
    padding-left: 10px;
}

.gutter-10.row {
    margin-right: -5px;
    margin-left: -5px;
}

.gutter-10>[class^="col-"],
.gutter-10>[class^=" col-"] {
    padding-right: 5px;
    padding-left: 5px;
}

.gutter-5.row {
    margin-right: -3px;
    margin-left: -3px;
}

.gutter-5>[class^="col-"],
.gutter-5>[class^=" col-"] {
    padding-right: 3px;
    padding-left: 3px;
}

.gutter-1.row {
    margin-right: -1px;
    margin-left: -1px;
}

.gutter-1>[class^="col-"],
.gutter-1>[class^=" col-"] {
    padding-right: 1px;
    padding-left: 1px;
}

.gutter-0.row {
    margin-right: 0;
    margin-left: 0;
}

.gutter-0>[class^="col-"],
.gutter-0>[class^=" col-"] {
    padding-right: 0;
    padding-left: 0;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    padding: 0;
}

.table td.fit,
.table th.fit {
    white-space: nowrap;
    width: 1%;
}

th.td-btn {
    white-space: nowrap;
    width: 1%;
}

table.table tr th.td-sno {
    white-space: nowrap;
    width: 1%;
    vertical-align: middle !important;
}

table.table tr th.td-checkbox {
    white-space: nowrap;
    width: 1%;
    vertical-align: middle !important;
}

.export-container {
    padding: 10px 0;
}

.form-inline .control-label {
    display: block;
}

.profile {
    padding: 20px;
}
a.avatar{
	padding:0 !Important;
}

.profile .avatar img{
   border-radius:50%;
   max-width:100px;
   max-height: 100px;;
}

.profile .title {
    text-transform: capitalize;
    color: #fff;
}

.record-count {
    display: block;
    padding: 10px !important;
    text-decoration: none !important;
    cursor: pointer;
    margin-bottom: 10px;
}

.record-count .material-icons {
    font-size: 32px !important;
}

.record-count.alert .material-icons {
    opacity: 0.3;
}

.record-count:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
    border-color: transparent;
}

.record-count .title {
    font-weight: bold;
    margin-bottom: 2px;
}

.record-count .value {
    position: absolute;
    right: 10px;
    top: 6px;
    opacity: 0.8;
}

.record-count .desc {
    display: block;
    margin-top: 4px;
}

.record-count .progress {
    height: 10px;
    margin: 0 0;
    margin-top: 5px;
    border-radius: 0;
}

.record-count .progress-bar {
    line-height: 10px !important;
}

.record-count .progress-label {
    font-size: 8px;
}

.record-progress {
    display: block;
    padding: 10px 15px !important;
    text-decoration: none !important;
    cursor: pointer;
    margin-bottom: 10px;
}

.record-progress .icon {
    position: absolute;
    right: 10px;
    top: 6px;
    opacity: 0.5;
}

.record-progress .icon .material-icons {
    font-size: 36px !important;
}

.record-progress:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
    border-color: transparent;
}

.record-progress .title {
    font-weight: bold;
    margin-bottom: 10px;
}

.record-progress .value {
    position: absolute;
    right: 10px;
    top: 6px;
    opacity: 0.8;
}

.record-progress .desc {
    display: block;
    margin-top: 4px;
}

.record-progress .progress {
    height: 15px;
    margin: 5px 0;
    border-radius: 0;
}

.record-progress .progress-bar {
    line-height: 15px !important;
}

.record-progress .progress-label {
    font-weight: bold;
    font-size: 10px;
}

td.page-list-action {
    width: 50px;
}

td.page-list-action .dropdown-menu {
    min-width: auto !Important;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #555;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.load-indicator {
    text-align: center;
}

.load-indicator.parallax {
    margin: 0;
    position: absolute;
    left: 0;
    top: 0;
    line-height: 100%;
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
}

.load-indicator.fullpage-parallax {
    margin: 0;
    position: fixed;
    left: 0;
    top: 0;
    line-height: 100%;
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
}

.load-indicator.dark {
    background: rgba(0, 0, 0, 0.2);
}

.load-indicator.white {
    background: rgba(255, 255, 255, 0.9);
}

.load-indicator .loading-text {
    display: inline-block;
    padding: 10px;
    font-size: 15px;
    font-weight: 100;
    vertical-align: middle;
}

.load-indicator .animator {
    font-weight: bold;
    display: inline-block;
    padding: 10px;
    vertical-align: middle;
}

.btn .load-indicator {
    display: inline-block !important;
    margin: 5px;
}

.range-slider {
    position: relative;
}

.range-slider .value {
    position: absolute;
    right: -30px;
    top: 20%;
    padding: 2px;
    min-width: 25px;
    height: 25px;
    vertical-align: middle;
    line-height: 20px;
    border: 1px solid #ccc;
    background: #fafafa;
    color: #888;
    text-align: center;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    margin: 6.5px 0;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 7px;
    cursor: pointer;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
    background: rgba(10, 0, 0, 0.11);
    border-radius: 0.8px;
    border: 0px solid rgba(0, 0, 1, 0);
}

input[type=range]::-webkit-slider-thumb {
    box-shadow: 1.9px 1.9px 0px rgba(0, 0, 0, 0.1), 0px 0px 1.9px rgba(13, 13, 13, 0.1);
    border: 0px solid rgba(0, 0, 0, 0);
    height: 20px;
    width: 21px;
    border-radius: 50px;
    background: rgba(42, 42, 252, 0.78);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -6.5px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: rgba(36, 0, 0, 0.11);
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 7px;
    cursor: pointer;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
    background: rgba(10, 0, 0, 0.11);
    border-radius: 0.8px;
    border: 0px solid rgba(0, 0, 1, 0);
}

input[type=range]::-moz-range-thumb {
    box-shadow: 1.9px 1.9px 0px rgba(0, 0, 0, 0.1), 0px 0px 1.9px rgba(13, 13, 13, 0.1);
    border: 0px solid rgba(0, 0, 0, 0);
    height: 20px;
    width: 21px;
    border-radius: 50px;
    background: rgba(42, 42, 252, 0.78);
    cursor: pointer;
}

input[type=range]::-ms-track {
    width: 100%;
    height: 7px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type=range]::-ms-fill-lower {
    background: rgba(0, 0, 0, 0.11);
    border: 0px solid rgba(0, 0, 1, 0);
    border-radius: 1.6px;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
}

input[type=range]::-ms-fill-upper {
    background: rgba(10, 0, 0, 0.11);
    border: 0px solid rgba(0, 0, 1, 0);
    border-radius: 1.6px;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0), 0px 0px 0px rgba(13, 13, 13, 0);
}

input[type=range]::-ms-thumb {
    box-shadow: 1.9px 1.9px 0px rgba(0, 0, 0, 0.1), 0px 0px 1.9px rgba(13, 13, 13, 0.1);
    border: 0px solid rgba(0, 0, 0, 0);
    height: 20px;
    width: 21px;
    border-radius: 50px;
    background: rgba(42, 42, 252, 0.78);
    cursor: pointer;
    height: 7px;
}

input[type=range]:focus::-ms-fill-lower {
    background: rgba(10, 0, 0, 0.11);
}

input[type=range]:focus::-ms-fill-upper {
    background: rgba(36, 0, 0, 0.11);
}

.radial-progress-container {
    position: relative;
    margin: 0 auto;
}

.radial-progress-inner {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    position: absolute;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.file-list {
    margin-bottom: 10px;
    padding: 5px;
}

.file-uploads {
    overflow: visible !important;
    margin-bottom: 0 !important;
}

label {
    margin-bottom: 0 !important;
}

.ajax-loader{
  color: #808080;
  font-size: 20px;
  margin: 100px auto;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: relative;
  text-indent: -9999em;
  -webkit-animation: load4 1.3s infinite linear;
  animation: load4 1.3s infinite linear;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
.inline-page form{
	position:relative !important;
}
.form-ajax-status{
	position:absolute;
	left:0;
	top: 0;
	width:100%;
	height:100%;
	background:rgba(255,255,255,0.7);
	display:none;
}
@-webkit-keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}
@keyframes load4 {
  0%,
  100% {
    box-shadow: 0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0;
  }
  12.5% {
    box-shadow: 0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  25% {
    box-shadow: 0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em;
  }
  37.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  50% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em;
  }
  62.5% {
    box-shadow: 0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em;
  }
  75% {
    box-shadow: 0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0;
  }
  87.5% {
    box-shadow: 0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em;
  }
}

.lds-dual-ring {
  display: block;
  width: 64px;
  height: 64px;
  margin:auto auto;
}
.lds-dual-ring:after {
  content: " ";
  display:block;
  width: 46px;
  height: 46px;
  margin: 1px;
  border-radius: 50%;
  border: 5px solid #aaa;
  border-color: #aaa transparent #aaa transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


.loader,
.loader:after {
  border-radius: 50%;
  width: 2em;
  height: 2em;
  display:inline-block;
}
.loader {
  position: relative;
  border-top: 0.3em solid rgba(0,0,128, 0.2);
  border-right: 0.3em solid rgba(0,0,128, 0.2);
  border-bottom: 0.3em solid rgba(0,0,128, 0.2);
  border-left: 0.3em solid #999;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#sidebar::-webkit-scrollbar {
    width: 6px;
}

/* Track */
#sidebar::-webkit-scrollbar-track {
    background: #fff;
    border: 4px solid transparent;
    background-clip: content-box;
}

/* Handle */
#sidebar::-webkit-scrollbar-thumb {
    background: #555555;
}

.passtrengthMeter{
  position: relative;
  width: 100%;
}

.passtrengthMeter > input{
  width: 100%;
  display: inline-block;
  padding: 5px;
  box-sizing: border-box;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.passtrengthMeter > input:focus {
    outline-width: 0;
}

.passtrengthMeter::after{
  content: '';
  height: 3px;
  overflow: hidden;
  width: 0%;
  transition: width .5s;
  position: absolute;
  left: 0px;
  bottom: 0px;
}

.passtrengthMeter.weak::after{
  background-color: #EC644B;
  width: 25%;
}

.passtrengthMeter.medium::after{
  content: '';
  background-color: #E87E04;
  width: 50%;
}

.passtrengthMeter.strong::after{
  content: '';
  background-color: #EFBF17;
  width: 75%;
}

.passtrengthMeter.very-strong::after{
  content: '';
  background-color: #42A72A;
  width: 100%;
}

.passtrengthMeter .showPassword{
  position: absolute;
  width: 20px;
  top: calc(50% - 10px);
  right: 10px;
}

.passtrengthMeter .showPassword.active{
  opacity: .5;
}

.passtrengthMeter .showPassword img{
  display: block;
  width: 100%;
  height: auto;
}

.passtrengthMeter .showPassword:hover{
  cursor: pointer;
}

.passtrengthMeter .tooltip {
  background: #000000;
  top: 100%;
  color: #fff;
  font-family:Arial;
  font-size: 12px;
  display: block;
  left: 50%;
  margin-bottom: 15px;
  opacity: 0;
  padding: 5px 10px;
  pointer-events: none;
  position: absolute;
  min-width: 70px;
  box-sizing: border-box;
  text-align: center;
  z-index: 10;
  -webkit-transform: translateY(5px);
     -moz-transform: translateY(5px);
      -ms-transform: translateY(5px);
       -o-transform: translateY(5px);
          transform: translateY(5px);
  -webkit-transition: all .25s ease-out;
     -moz-transition: all .25s ease-out;
      -ms-transition: all .25s ease-out;
       -o-transition: all .25s ease-out;
          transition: all .25s ease-out;
  -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
     -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
      -ms-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
       -o-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
          box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.28);
}

.passtrengthMeter.weak .tooltip{
  background-color: #EC644B;
}
.passtrengthMeter.weak .tooltip:after{
  border-left: solid transparent 7px;
  border-right: solid transparent 7px;
  border-bottom: solid #EC644B 7px;
  top: -7px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -7px;
  position: absolute;
  width: 0;
}

.passtrengthMeter.medium .tooltip{
  background-color: #E87E04;
}
.passtrengthMeter.medium .tooltip:after{
  border-left: solid transparent 7px;
  border-right: solid transparent 7px;
  border-bottom: solid #E87E04 7px;
  top: -7px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -7px;
  position: absolute;
  width: 0;
}

.passtrengthMeter.strong .tooltip{
  background-color: #EFBF17;
}
.passtrengthMeter.strong .tooltip:after{
  border-left: solid transparent 7px;
  border-right: solid transparent 7px;
  border-bottom: solid #EFBF17 7px;
  top: -7px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -7px;
  position: absolute;
  width: 0;
}

.passtrengthMeter.very-strong .tooltip{
  background-color: #42A72A;
}
.passtrengthMeter.very-strong .tooltip:after{
  border-left: solid transparent 7px;
  border-right: solid transparent 7px;
  border-bottom: solid #42A72A 7px;
  top: -7px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -7px;
  position: absolute;
  width: 0;
}

.passtrengthMeter.weak .tooltip:before {
  top: -20px;
  content: " ";
  display: block;
  height: 20px;
  left: 0;
  position: absolute;
  width: 100%;
}

.passtrengthMeter .tooltip:after {
  border-left: solid transparent 7px;
  border-right: solid transparent 7px;
  border-bottom: solid #000000 7px;
  top: -7px;
  content: " ";
  height: 0;
  left: 50%;
  margin-left: -7px;
  position: absolute;
  width: 0;
  -webkit-transition: all .25s ease-out;
     -moz-transition: all .25s ease-out;
      -ms-transition: all .25s ease-out;
       -o-transition: all .25s ease-out;
          transition: all .25s ease-out;
}

.passtrengthMeter:hover .tooltip {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: translateY(10px);
     -moz-transform: translateY(10px);
      -ms-transform: translateY(10px);
       -o-transform: translateY(10px);
          transform: translateY(10px);
}

.lte8 .passtrengthMeter .tooltip {
  display: none;
}

.lte8 .passtrengthMeter:hover .tooltip {
  display: block;
}
body{
	padding-top:50px;
}
#page-wrapper{
	display: flex;
    width: 100%;
    align-items: stretch;
}
#main-content{
	width: 100%;
}
#main #main-content {
    margin-left: 250px;
    min-height: 100vh;
    transition: all 0.3s;
}

#main #main-content.active{
    margin-left: 80px;
}


#sidebar {
    width: 250px;
    position: fixed;
    top: 50px;
    left: 0;
    height: calc(100vh - 50px);
    z-index: 999;
	overflow-y: auto;
	padding-bottom: 40px;
	transition: margin 0.3s;
}

#sidebar.active {
    width: 80px;
}


@media (max-width: 768px) {

    #sidebar {
        margin-left: -250px !important;
    }

    #sidebar.active {
        margin-left: 0 !important;
    }

    #main #main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }

}

#sidebar.active .navbar-nav  li a{
	text-align: center;
}

#sidebar.active .navbar-nav  li a .menu-label{
   display: block;
   font-size: xx-small;
}

#sidebar.active .navbar-nav  li a .material-icons, #sidebar.active .navbar-nav  li a .fa, #sidebar.active .navbar-nav  li a .icon{
   font-size: 26px;
}


#sidebar .submenu{
	margin-left: 20px;
}
#sidebar.active .submenu{
	margin-left: 2px;
}

#sidebar .navbar-nav a.nav-link {
	padding: 8px !important;
	border-bottom: 1px solid rgba(0,0,0,0.06);
}
#sidebar .navbar-nav a.nav-link:hover {
	background: rgba(0,0,0,0.05);
}
#sidebar .navbar-nav a.dropdown-toggle::after {
	float: right;
	margin-right:7px;
	margin-top:7px;
}
#sidebar.active .navbar-nav a.dropdown-toggle::after {
	float: none;
	margin:0 auto;
	display: block;
	margin-top:7px;

}
#sidebar.active .navbar-nav a.dropdown-toggle::after {
	float: none;
}

#sidebar .menu-profile > a.avatar {
    padding: 0 !important;
}

#sidebar.active .menu-profile .user-name {
	text-align: center;
	font-size: small;
}

#sidebar.active .menu-profile .menu-dropdown {
    display: none;
}



.navbar-brand{
	min-width:15%;
}

.navbar-brand img{
	display:inline;
	max-height:30px;
}

.calendar-table {
    width: 100%;
    table-layout: fixed;
    text-align: center;
}

.calendar-table th,
.calendar-table td {
    width: 14.28%; /* 100% / 7 hari */
    padding: 6px 0;
    font-size: 14px;
}

.calendar-table td {
    border-radius: 8px;
}

.calendar-table td.today {
    background: white;
    color: #003366;
    font-weight: bold;
}



#calendar {
    text-align: center;
}

.calendar-header {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 18px;
}

.calendar-table {
    width: 100%;
    color: white;
}

.calendar-table th {
    padding: 5px;
    font-size: 13px;
}

.calendar-table td {
    padding: 8px;
    border-radius: 8px;
    transition: 0.2s;
}

.today {
    background: #ffffff;
    color: #003366;
    font-weight: bold;
    font-size: 18px;
}


.social-link {
    font-size: 32px;   /* bisa ganti 20px / 22px kalau mau lebih besar */
    font-weight: 670;  /* optional biar agak tebal */
}

/* Fix dropdown export agar tidak tertutup sidebar */
.dropdown-menu {
    z-index: 9999 !important;
}

.table-responsive {
    overflow-x: auto !important;
    overflow-y: visible !important;
    -webkit-overflow-scrolling: touch;
}


.account-header {
    background: linear-gradient(135deg, #1e73be, #0d47a1);
    padding: 30px 20px;
    border-radius: 10px;
    color: #fff;
    margin: 15px;
}

.avatar-wrapper {
    width: 130px;
    height: 130px;
    margin: auto;
    background: #fff;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.account-avatar {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.account-name {
    margin-top: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

.sidebar .user-panel {
    padding: 15px;
    text-align: center;
}

.sidebar .user-panel img {
    width: 50px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    margin: 10px auto;
    display: block;
}


.sidebar .user-panel {
    overflow: visible !important;
}
/* Mobile Fix */
@media (max-width: 768px) {

    .sidebar {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
    }

    .navbar-brand img {
        max-width: 120px;
        height: auto;
    }

    .card, .box, .dashboard-box {
        margin-bottom: 15px;
    }

    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

}
html, body {
    overflow-x: hidden !important;
}

.container-fluid {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
}
/* ====== RUNNING TEXT FIX STABLE ====== */
.running-text-wrapper {
    position: fixed;
    bottom: 0;
    left: 250px; /* WAJIB sesuai lebar sidebar */
    right: 0;
    height: 48px; /* KEMBALIKAN TINGGI NORMAL */
    background: rgba(135, 206, 235, 0.85);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 9999;
    padding: 0 20px;
    border-top: 1px solid rgba(255,255,255,0.4);
}

.running-text {
    white-space: nowrap;
    display: inline-block;
    padding-left: 100%;
    animation: marquee 45s linear infinite; /* lebih pelan */
    animation-delay: 3s;
    font-size: 16px; /* ukuran normal */
    font-weight: 600;
    color: #0b2e59;
}

/* pause saat hover */
.running-text-wrapper:hover .running-text {
    animation-play-state: paused;
}

@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}


/* Animasi icon */
.icon-animate {
    display: inline-block;
    animation: bounceIcon 1.5s infinite;
}

/* Gerakan icon naik turun */
@keyframes bounceIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Animasi jalan */
@keyframes runningText {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

/* ============================= */
/* RESPONSIVE UNTUK MOBILE */
/* ============================= */
@media (max-width: 768px) {

    .running-text-wrapper {
        left: 0 !important;  /* supaya full layar */
        height: 45px;
        padding: 0 10px;
    }

    .running-text {
        font-size: 14px; /* sedikit lebih kecil agar muat */
        animation: marquee 55s linear infinite; /* lebih pelan di HP */
    }

}
/* ====== FIX AGAR TABEL TIDAK TERTIMPA ====== */
body {
    padding-bottom: 60px;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 60px;
    }
}
/* ================= MODERN PREMIUM CARD ================= */

.premium-card {
    border-radius: 24px;
    padding: 35px 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    color: #fff;
}

.premium-card i {
    font-size: 55px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.premium-card h5 {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.premium-card p {
    font-size: 13px;
    opacity: 0.85;
}

/* Hover effect */
.premium-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

/* Glow animation */
.premium-card::after {
    content: "";
    position: absolute;
    width: 150%;
    height: 150%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.15),
        transparent,
        rgba(255,255,255,0.15)
    );
    top: -40%;
    left: -40%;
    transform: rotate(25deg);
    transition: 0.6s;
}

.premium-card:hover::after {
    left: 120%;
}

/* Specific Color Theme */

.word-card {
    background: linear-gradient(135deg,#1d3557,#457b9d);
}

.excel-card {
    background: linear-gradient(135deg,#0f9b0f,#38ef7d);
}

@media(max-width:768px){
    .premium-card {
        margin-bottom: 20px;
    }
}
/* ===== DASHBOARD MAIN MENU MODERN ===== */

.main-card {
    border-radius: 20px;
    padding: 25px 20px;
    color: white;
    transition: 0.35s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.main-card i {
    font-size: 35px;
    margin-bottom: 10px;
}

.main-card h6 {
    font-weight: 600;
    margin-bottom: 5px;
}

.main-card .count-number {
    font-size: 20px;
    font-weight: bold;
    opacity: 0.9;
}

.main-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

/* Warna per menu */

.card-keluar {
    background: linear-gradient(135deg,#ff8c00,#ff5e00);
}

.card-masuk {
    background: linear-gradient(135deg,#4776E6,#8E54E9);
}

.card-ptk {
    background: linear-gradient(135deg,#283048,#859398);
}

.card-admin {
    background: linear-gradient(135deg,#141E30,#243B55);
}

.card-klasifikasi {
    background: linear-gradient(135deg,#4e4376,#2b5876);
}

/* Responsive spacing */
@media(max-width:768px){
    .main-card {
        margin-bottom: 15px;
    }
}
/* === LOGOUT MODERN BUTTON === */
.logout-btn{
    background: rgba(220,53,69,0.15);
    color: #ff4d4f !important;
    border-radius: 8px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    font-weight: 500;
}


.logout-btn:hover{
    background: #dc3545;
    color: #fff !important;
    box-shadow: 0 0 15px rgba(220,53,69,0.6);
}

.logout-btn i{
    font-size: 21px;
}

/* ===================================== */
/* TOPBAR MEWAH - STYLE E-OFFICE RESMI  */
/* ===================================== */

#topbar{
    min-height: 75px;
    padding: 15px 30px;
    background: linear-gradient(90deg, #0f2027, #203a43, #2c5364);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
}

/* Logo kiri */
#topbar .navbar-brand{
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Gambar logo */
#topbar .navbar-brand img{
    height: 55px;
    width: auto;
    transition: all 0.3s ease;
}

/* Efek hover logo */
#topbar .navbar-brand img:hover{
    transform: scale(1.05);
}

/* Tulisan brand */
#topbar .navbar-brand span{
    color: #ffffff;
}

/* Menu kanan (Hi SKANSAPIL) */
#topbar .dropdown-toggle{
    font-size: 15px;
    font-weight: 500;
}

/* Supaya konten tidak ketutup topbar */
body{
    padding-top: 95px;
}
.table-scroll-wrapper{
    max-height: 650px;  /* kira-kira tinggi 35 baris */
    overflow-y: auto;
    overflow-x: auto;
}

.table-scroll-wrapper thead th{
    position: sticky;
    top: 0;
    background: #f8f9fa;
    z-index: 2;
}

/* =========================================
   TOP NAVBAR MODERN
========================================= */

.navbar,
.topbar,
.header,
.page-header{
    background:
    linear-gradient(90deg,#020617,#0f172a,#1e293b) !important;

    height:82px;

    border-bottom:
    1px solid rgba(255,255,255,0.08);

    box-shadow:
    0 8px 25px rgba(0,0,0,0.18);

    backdrop-filter:blur(10px);
}

/* Logo kiri */
.navbar-brand{
    font-size:38px;
    font-weight:800;
    letter-spacing:.5px;
    color:white !important;
}

/* User kanan */
.navbar .nav-link{
    color:#cbd5e1 !important;
    font-weight:500;
}

/* =========================================
   SIDEBAR MODERN
========================================= */

.sidebar,
.main-sidebar,
.left-sidebar{

    background:
    linear-gradient(180deg,#020617 0%, #0f172a 100%) !important;

    border-right:
    1px solid rgba(255,255,255,0.05);

    box-shadow:
    6px 0 30px rgba(0,0,0,0.18);

    padding-top:10px;
}

/* Logo profile sidebar */
.sidebar .user-panel,
.main-sidebar .user-panel{
    padding:18px 10px;
    margin-bottom:10px;
}

/* Menu item */
.sidebar .nav-link,
.main-sidebar .nav-link,
.sidebar-menu a{

    border-radius:16px;

    margin:
    5px 12px;

    padding:
    13px 16px !important;

    color:#cbd5e1 !important;

    font-weight:500;

    transition:all .25s ease;
}

/* Hover menu */
.sidebar .nav-link:hover,
.main-sidebar .nav-link:hover,
.sidebar-menu a:hover{

    background:
    rgba(37,99,235,0.18);

    color:white !important;

    transform:
    translateX(4px);
}

/* Menu aktif */
.sidebar .active,
.sidebar .nav-item.active a,
.main-sidebar .active{

    background:
    linear-gradient(90deg,#2563eb,#3b82f6) !important;

    color:white !important;

    box-shadow:
    0 10px 25px rgba(37,99,235,.35);
}

/* Icon menu */
.sidebar i,
.main-sidebar i{
    width:22px;
    text-align:center;
    margin-right:10px;
    font-size:16px;
}

/* Logout button */
.sidebar .btn,
.main-sidebar .btn{

    border-radius:14px;
}

/* =========================================
   SPACING KONTEN
========================================= */

.container-fluid{
    padding-top:22px;
    padding-left:22px;
    padding-right:22px;
}

/* =========================================
   HEADER BIRU
========================================= */

.page-header-modern{

    border-radius:28px;

    overflow:hidden;

    background:
    linear-gradient(135deg,#2563eb,#1d4ed8);

    box-shadow:
    0 18px 40px rgba(37,99,235,.28);

    position:relative;
}

/* efek glow kanan */
.page-header-modern::before{

    content:'';

    position:absolute;

    width:280px;
    height:280px;

    border-radius:50%;

    background:
    rgba(255,255,255,0.08);

    right:-100px;
    top:-80px;
}

/* =========================================
   SEARCH BOX
========================================= */

.search-modern input{

    border:
    1px solid #e2e8f0;

    transition:.25s;
}

.search-modern input:focus{

    outline:none;

    border-color:#3b82f6;

    box-shadow:
    0 0 0 4px rgba(59,130,246,.12);
}


/* =========================
   PERBESAR FONT FORM
========================= */

h4, h5 {
    font-size: 20px;
    font-weight: 600;
}

label {
    font-size: 15px;
    font-weight: 500;
}

.form-control {
    font-size: 15px;
    height: 42px;
}

::placeholder {
    font-size: 14px;
}

/* =========================
   TABEL LEBIH BESAR & RAPI
========================= */

.table {
    font-size: 12px;
}

.table th {
    font-size: 13px;
    font-weight: 600;
}

.table td {
    font-size: 12px;
    vertical-align: middle;
}

/* Supaya tabel mengikuti isi */
.table {
    width: 100%;
    table-layout: auto;
}

/* Agar text tidak terlalu rapat */
.table th, 
.table td {
    padding: 8px 10px;
}

.table td {
    white-space: normal !important;
}
}

.pdf-card {
    color: #dc3545; /* merah */
}

.pdf-card h5 {
    color: #dc3545;
}

.pdf-card p {
    color: #dc3545;
}

.pdf-card i {
    color: #dc3545;
    font-size: 40px;
}

.sppd-card {
    background: linear-gradient(135deg, #6d28d9, #a855f7);
    color: #ffffff;
}

.btn-purple {
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    color: #ffffff !important;
    border: none;
}

.btn-purple:hover {
    background: linear-gradient(135deg, #5b21b6, #7e22ce);
    color: #ffffff !important;
}
.pegawai-item.selected-top {
    background: #eef6ff;
    border-left: 4px solid #1f6feb;
}
.container-fluid{
    padding-top:30px;
}

/* =========================
   NAVBAR ATAS
========================= */

.navbar,
.topbar,
.header,
.page-header{
    backdrop-filter:blur(12px);
    background:linear-gradient(90deg,#0f172a,#1e293b) !important;
    border-bottom:1px solid rgba(255,255,255,0.08);
    box-shadow:0 4px 20px rgba(0,0,0,0.15);
}

/* Logo / Brand */
.navbar-brand,
.sidebar-brand{
    font-weight:700;
    letter-spacing:.5px;
}

/* =========================
   SIDEBAR
========================= */

.sidebar,
.main-sidebar,
.left-sidebar{
    background:linear-gradient(180deg,#020617,#0f172a) !important;
    border-right:1px solid rgba(255,255,255,0.05);
    box-shadow:4px 0 25px rgba(0,0,0,0.15);
}

/* Menu sidebar */
.sidebar .nav-link,
.sidebar-menu a,
.main-sidebar a{
    border-radius:14px;
    margin:4px 10px;
    padding:12px 16px !important;
    transition:all .25s ease;
    font-weight:500;
}

/* Hover menu */
.sidebar .nav-link:hover,
.sidebar-menu a:hover,
.main-sidebar a:hover{
    background:rgba(37,99,235,0.18);
    transform:translateX(4px);
}

/* Menu aktif */
.sidebar .active,
.sidebar .nav-item.active a,
.sidebar-menu .active a{
    background:linear-gradient(90deg,#2563eb,#3b82f6) !important;
    color:white !important;
    box-shadow:0 8px 20px rgba(37,99,235,.35);
}

/* Icon sidebar */
.sidebar i,
.main-sidebar i{
    width:22px;
    text-align:center;
    margin-right:8px;
}

/* =========================
   HEADER BIRU SURAT KELUAR
========================= */

.page-header-modern{
    margin-top:15px;
    background:
    linear-gradient(135deg,#2563eb,#1d4ed8);
    border-radius:24px;
    padding:30px;
    box-shadow:
    0 15px 40px rgba(37,99,235,.25);
    position:relative;
    overflow:hidden;
}

/* efek glow */
.page-header-modern::before{
    content:'';
    position:absolute;
    width:300px;
    height:300px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
    top:-120px;
    right:-100px;
}

/* =========================
   CARD TABLE
========================= */

.modern-card{
    border-radius:24px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,0.08);
    box-shadow:
    0 10px 40px rgba(15,23,42,.08);
}

/* =========================
   TABEL
========================= */

.table-modern thead{
    background:linear-gradient(180deg,#eff6ff,#dbeafe);
}

.table-modern tbody tr{
    transition:.2s ease;
}

.table-modern tbody tr:hover{
    background:#f8fafc;
    transform:scale(1.002);
}

/* =========================
   SEARCH
========================= */

.search-modern input{
    border:1px solid #e2e8f0;
    transition:.25s;
}

.search-modern input:focus{
    outline:none;
    border-color:#3b82f6;
    box-shadow:0 0 0 4px rgba(59,130,246,.12);
}

/* =========================
   BUTTON
========================= */

.btn-modern{
    box-shadow:0 6px 18px rgba(0,0,0,0.12);
}

.btn-modern:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 24px rgba(0,0,0,0.18);
}

/* =========================
   SCROLLBAR MODERN
========================= */

::-webkit-scrollbar{
    height:10px;
    width:10px;
}

::-webkit-scrollbar-thumb{
    background:#94a3b8;
    border-radius:20px;
}

::-webkit-scrollbar-track{
    background:#e2e8f0;
}

/* ===== SI-SUKSMA FINAL MODERN SHELL ===== */

body{
    background:#f8fafc;
}

#topbar,
.navbar,
.topbar,
.header,
.page-header{
    min-height:76px;
    background:linear-gradient(90deg,#0f172a 0%,#172033 55%,#1e293b 100%) !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
    box-shadow:0 12px 30px rgba(15,23,42,.18) !important;
    backdrop-filter:blur(14px);
}

#topbar .navbar-brand,
.navbar-brand{
    display:flex !important;
    align-items:center !important;
    gap:12px;
    color:#fff !important;
    font-size:28px !important;
    font-weight:800 !important;
    letter-spacing:.2px !important;
}

#topbar .navbar-brand img,
.navbar-brand img{
    width:34px !important;
    height:34px !important;
    object-fit:contain !important;
    filter:drop-shadow(0 6px 12px rgba(0,0,0,.22));
}

#topbar .dropdown-toggle,
.navbar .dropdown-toggle{
    display:inline-flex !important;
    align-items:center !important;
    gap:8px;
    padding:9px 14px !important;
    border-radius:999px !important;
    background:rgba(255,255,255,.08) !important;
    color:#e5e7eb !important;
    font-weight:600 !important;
}

#topbar .dropdown-toggle:hover,
.navbar .dropdown-toggle:hover{
    background:rgba(255,255,255,.14) !important;
    color:#fff !important;
}

#sidebar,
.sidebar,
.main-sidebar,
.left-sidebar,
.navbar-fixed-left{
    background:
        radial-gradient(circle at 50% 0%,rgba(37,99,235,.18),transparent 190px),
        linear-gradient(180deg,#111827 0%,#0f1020 48%,#0b1020 100%) !important;
    border-right:1px solid rgba(255,255,255,.08) !important;
    box-shadow:12px 0 32px rgba(15,23,42,.18) !important;
}

#sidebar{
    overflow-y:auto;
    overflow-x:hidden;
}

#sidebar .profile,
#sidebar .user-panel,
.sidebar .profile,
.sidebar .user-panel,
.menu-profile{
    padding:22px 16px 18px !important;
    margin:0 12px 14px !important;
    background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03)) !important;
    border:1px solid rgba(255,255,255,.08) !important;
    border-radius:18px !important;
    text-align:center !important;
}

#sidebar .profile img,
#sidebar .user-panel img,
.sidebar .profile img,
.sidebar .user-panel img,
.menu-profile img.user-photo{
    width:72px !important;
    height:72px !important;
    object-fit:contain !important;
    border-radius:18px !important;
    padding:6px;
    background:rgba(255,255,255,.08);
    box-shadow:0 14px 28px rgba(0,0,0,.22);
}

#sidebar .profile .title,
#sidebar .user-panel .title,
.sidebar .profile .title,
.sidebar .user-panel .title,
.menu-profile .user-name{
    margin-top:12px !important;
    color:#fff !important;
    font-weight:800 !important;
    letter-spacing:.2px !important;
}

#sidebar .profile small,
#sidebar .user-panel small,
.sidebar .profile small,
.sidebar .user-panel small{
    color:#94a3b8 !important;
}

#sidebar .nav,
.sidebar .nav,
.sidebar-menu,
.navbar-fixed-left .navbar-nav{
    padding:0 10px 18px !important;
}

#sidebar .nav-link,
#sidebar a.nav-link,
.sidebar .nav-link,
.sidebar-menu a,
.main-sidebar a,
.navbar-fixed-left .navbar-nav > li > a{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
    min-height:46px;
    margin:4px 0 !important;
    padding:11px 14px !important;
    border-radius:14px !important;
    color:#cbd5e1 !important;
    font-size:14px !important;
    font-weight:600 !important;
    text-decoration:none !important;
    transition:background .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease !important;
}

#sidebar .nav-link i,
.sidebar .nav-link i,
.sidebar-menu a i,
.main-sidebar a i,
.navbar-fixed-left .navbar-nav > li > a i{
    width:24px !important;
    min-width:24px !important;
    height:24px !important;
    margin:0 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    font-size:19px !important;
    color:#94a3b8 !important;
}

#sidebar .nav-link:hover,
.sidebar .nav-link:hover,
.sidebar-menu a:hover,
.main-sidebar a:hover,
.navbar-fixed-left .navbar-nav > li > a:hover{
    background:rgba(37,99,235,.16) !important;
    color:#fff !important;
    transform:translateX(4px);
    box-shadow:0 10px 20px rgba(2,6,23,.16);
}

#sidebar .nav-link:hover i,
.sidebar .nav-link:hover i,
.sidebar-menu a:hover i,
.main-sidebar a:hover i,
.navbar-fixed-left .navbar-nav > li > a:hover i{
    color:#bfdbfe !important;
}

#sidebar .active > a,
#sidebar a.active,
#sidebar .nav-item.active a,
.sidebar .active > a,
.sidebar a.active,
.sidebar .nav-item.active a,
.sidebar-menu .active a,
.navbar-fixed-left .navbar-nav > li.active > a{
    background:linear-gradient(135deg,#2563eb,#06b6d4) !important;
    color:#fff !important;
    box-shadow:0 12px 24px rgba(37,99,235,.32) !important;
}

#sidebar .active i,
#sidebar a.active i,
#sidebar .nav-item.active a i,
.sidebar .active i,
.sidebar a.active i,
.sidebar .nav-item.active a i,
.sidebar-menu .active a i{
    color:#fff !important;
}

#sidebar a[href*="logout"],
.sidebar a[href*="logout"],
.logout-btn{
    width:auto !important;
    margin:12px 10px !important;
    justify-content:center !important;
    background:rgba(239,68,68,.13) !important;
    color:#fecaca !important;
    border:1px solid rgba(239,68,68,.22) !important;
    border-radius:12px !important;
}

#sidebar a[href*="logout"]:hover,
.sidebar a[href*="logout"]:hover,
.logout-btn:hover{
    background:#ef4444 !important;
    color:white !important;
    box-shadow:0 14px 24px rgba(239,68,68,.26) !important;
}

#sidebar::-webkit-scrollbar{
    width:6px;
}

#sidebar::-webkit-scrollbar-thumb{
    background:rgba(148,163,184,.45);
    border-radius:999px;
}

/* ===================================== */
/* FIX MOBILE RESPONSIVE SI-SUKSMA */
/* ===================================== */

@media (max-width:768px){

    /* Sidebar sembunyikan default */
    #sidebar{
        margin-left:-250px !important;
        left:0 !important;
        width:250px !important;
        position:fixed !important;
        top:76px !important;
        height:100vh !important;
        z-index:99999 !important;
        transition:0.3s ease;
    }

    /* Saat menu dibuka */
    #sidebar.active{
        margin-left:0 !important;
    }

    /* Konten utama FULL */
    #main #main-content{
        margin-left:0 !important;
        width:100% !important;
        padding-left:10px !important;
        padding-right:10px !important;
    }

    /* Hilangkan overflow */
    body,
    html{
        overflow-x:hidden !important;
    }

    /* Row bootstrap */
    .row{
        margin-left:0 !important;
        margin-right:0 !important;
    }

    /* Card dashboard */
    .main-card{
        padding:20px 10px !important;
        border-radius:18px;
    }

    .main-card h6{
        font-size:15px;
    }

    .main-card .count-number{
        font-size:22px;
    }

    /* Judul dashboard */
    h1{
        font-size:34px !important;
        line-height:1.2;
    }

    h2{
        font-size:22px !important;
        line-height:1.3;
    }

    /* Container */
    .container-fluid{
        padding-left:10px !important;
        padding-right:10px !important;
    }

    /* Premium card */
    .premium-card{
        padding:25px 15px !important;
    }
@media(max-width:768px){

    #main #main-content.active{
        margin-left:0 !important;
    }


}
    /* ===================================
   RESPONSIVE SIDEBAR FINAL
=================================== */

@media (max-width: 1366px){

    #sidebar{
        width:220px !important;
    }

    #main #main-content{
        margin-left:220px !important;
    }

    .running-text-wrapper{
        left:220px !important;
    }
}

@media (max-width: 992px){

    #sidebar{
        margin-left:-250px !important;
        width:250px !important;
    }

    #sidebar.active{
        margin-left:0 !important;
    }

    #main #main-content{
        margin-left:0 !important;
        width:100% !important;
    }

    .running-text-wrapper{
        left:0 !important;
    }
}
    #overlay{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.5);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:998;
}

#overlay.active{
    opacity:1;
    visibility:visible;
}