@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('../fonts/flaticon/flaticon.css');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css");

:root {
    --font-main: "Roboto", "Open Sans", Arial, sans-serif;
}

body,
.wrapper,
.btn,
.form-control,
.table,
p,
.wrapper-login {
    font-family: var(--font-main) !important;
}

.wrapper-login {
    margin: 0 !important;
}

.container-login {
    border-radius: 3px !important;
    padding-top: 20px !important;
}

.container-login .logo {
    text-align: center;
    justify-content: center;
    vertical-align: middle;
    margin: auto;
}

/* Navigation */
.nav .nav-item {
    margin: 10px 0;
}

.nav .nav-item a {
    padding: 12px;
}

/* Labels and barcode */
label {
    font-weight: bold !important;
}

.barcode-text {
    letter-spacing: 7px;
    margin-top: 7px;
    display: block;
}

/* Strips and badges */
.strip {
    background: #f4f4f4;
    color: #111 !important;
    border-radius: 20px;
    padding: 6px 11px;
    cursor: pointer;
}

.badge {
    cursor: pointer;
}

/* Card feed */
.card-feed,
.card-feed p {
    font-size: 13px !important;
}

.card-feed .photo {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin: 4px;
}

/* Upload button */
.btn-upload {
    background: #fff !important;
    border: 2px dashed #ddd;
    color: #aaa;
    height: 60px;
}

.btn-upload:hover {
    background: #eee !important;
}

/* Modal */
.modal {
    background: rgba(0, 0, 0, 0.2) !important;
    box-shadow: inset 3px 0 2000px !important;
    backdrop-filter: blur(2px) !important;
}

/* Table styles */
.table thead tr th {
    background: #fff;
    font-size: 12px;
}

.table-sm {
    padding: 0;
    margin: 0;
}

.table-sm thead tr th,
.table-sm tr td {
    border-bottom: none !important;
    font-size: 13px;
    padding: 2px !important;
}

.table-sm tr td {
    font-size: 12px;
}

.table-absen thead tr th,
.table-absen tr td {
    border-bottom: none !important;
    background: #fff;
}

.table-gaji thead tr th,
.table-gaji tbody tr td {
    font-size: 12px;
    padding: 4px !important;
}

/* Table xs */
.table-xs {
    width: 100%;
    border: 1px solid #eee;
    font-size: 13px;
}

.table-xs tr th,
.table-xs tr td {
    border: 1px solid #eee;
    text-align: center;
    padding: 4px 5px;
    color: #111;
}

.table-xs tr td {
    padding: 3px 5px;
}

/* Custom table */
.table-custom {
    padding: 0 !important;
}

.table-custom thead {
    margin: 0 !important;
}

.table-custom thead tr th {
    border-collapse: collapse;
    padding: 7px 2px !important;
    margin: 0 !important;
}

.table-custom tbody tr td {
    padding: 2px;
    font-size: 12px !important;
}

/* Image design */
.img_desain {
    background: #ddd;
    border: 1px solid #ddd;
    display: block;
    position: relative;
    border-radius: 4px;
    width: 120px;
    height: 120px;
}

@media (max-width: 720px) {
    .img_desain {
        width: 100%;
    }
}

.img_download,
.img_delete {
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
}

.img_download {
    bottom: 10px;
    right: 10px;
}

.img_delete {
    border-radius: 50%;
    font-weight: bold;
    padding: 5px 8px;
    top: 5px;
    right: 5px;
}

/* Select2 */
.select2-container {
    border: 1px solid #eee !important;
    border-radius: 2px;
    font-size: 13px !important;
    padding: 4px !important;
}

.select2-container .select2-selection--single {
    border: none !important;
}

.select2-dropdown {
    font-size: 12px !important;
}

/* Label for upload */
.label-upload-img {
    background: #fff;
    border: 2px dashed #ddd;
    border-radius: 10px;
    width: 100%;
    height: 150px;
    text-align: center;
    color: #aaa;
    cursor: pointer;
}

.label-upload-img:hover {
    background: #eee;
}

.label-upload {
    color: #aaa;
    font-size: 14px;
    display: inline-block;
    position: relative;
    margin: 10% auto;
}

.img-profile {
    background: #eee;
    border: 3px solid #ddd;
    height: 90%;
    margin: 10px auto 20px;
    border-radius: 5px;
}

/* Toast */
.toaster {
    color: #fff;
    width: 100%;
    display: none;
    position: fixed;
    bottom: 70px;
    font-size: 12px;
    text-align: center;
    z-index: 9999;
}

.toaster-body {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 30px;
    padding: 14px 22px;
    width: auto;
    display: inline-block;
    margin-left: -5px;
}

@media (max-width: 480px) {
    .toast .toast-body {
        margin: 0 10px;
    }
}