/* .page-header {
    background: #830b07;
    border-bottom: none;
    border-left: 1px solid #3a3a3a;
    box-shadow: 1px 3px 0 1px #cccccc;
    height: 50px;
    margin: -40px -40px 40px -40px;
    padding: 0;
} */


/* .sidebar-left {
    background: #830b07;
    box-shadow: -5px 0 0 #2f3139 inset;
    color: #777777;
    display: table-cell;
    position: relative;
    vertical-align: top;
    width: 300px;
    z-index: 1010;
} */


.sidebar-left .sidebar-header .sidebar-title {
    color: #ffffff;
    padding: 15px;
    font-size: 13px;
    font-size: 1.3rem;
}

.page-header h2 {
    border-bottom-color: #270706;
}

/* .form-control:focus {
    border-color: #7a0606;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(109, 19, 19, 0.3);
} */

body .btn-secondary {
    border-color: #a44747;
    background-color: #a44747;
    border-color: #a44747 #a44747 #803838;
    color: white;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

body .btn-secondary:hover {
    border-color: #b45151;
    background-color: #b45151;
    color: white;
}

body .btn-secondary:active,
body .btn-secondary:focus {
    border-color: #923f3f;
    background-color: #923f3f;
    color: white;
}

body .btn-secondary.dropdown-toggle {
    border-left-color: #923f3f;
}

body .btn-secondary[disabled] {
    border-color: #cb8686;
    background-color: #cb8686;
}

html,
body .print {
    background: white;
    width: 100%;
}

.switch.switch-secondary .ios-switch .on-background {
    background: #555151;
}


table.dfixed {
    table-layout: fixed;
}

.panel-body .bg-grey {
    background: rgb(228, 226, 226);
    color: black;
}

input[type=text].erText {
    border: 1px solid red;
}

input[type=password].erText {
    border: 1px solid red;
}

input[type=email].erText {
    border: 1px solid red;
}

textarea.erText {
    border: 1px solid red;
}

input[type=file]::file-selector-button {
    display: none;
}

input[type=file].erText {
    border: 1px solid red;
}

input[type=file]::-moz-focus-inner {
    outline: none;
}

hr.filter {
    border-top: 1px solid grey
}

.thumb-info .thumb-info-title {
    font-size: 14px;
    font-weight: 700;
}

label.notes {
    color: #0c8029;
    font-size: 0.9em;
    margin-top: -5px;
    padding: 0;
}

.pointer {
    cursor: pointer;
}

div.sticky {
    position: -webkit-sticky;
    z-index: 1;
    position: fixed;
    top: 1;
    right: 0;
    /* background-color: white; */
    padding: 10px;
    font-size: 20px;
    color: black;
}

.different:read-only {
    background: rgb(106, 171, 214);
    color: black;
}

.different {
    background: rgb(106, 171, 214);
    color: black;
}

.my-swal {
    z-index: 9999999999;
}

.swal2-container {
    z-index: 9999999999;
}

.modal-busy {
    position: fixed;
    z-index: 999;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: Black;
    filter: alpha(opacity=60);
    opacity: 0.6;
    -moz-opacity: 0.8;
}

.center-busy {
    z-index: 1000;
    margin: 300px auto;
    padding: 0px;
    width: 130px;
    filter: alpha(opacity=100);
    opacity: 1;
    -moz-opacity: 1;
}

.center-busy img {
    height: 128px;
    width: 128px;
}

@media screen and (min-width: 768px) {
    .modal-lg {
        width: 900px;
    }

    .modal-sm {
        width: 300px;
    }

    .mAnnounce img {
        width: 100%;
        height: auto;
    }
}

@media screen and (min-width: 480px) {
    .mAnnounce img {
        width: 100%;
        height: auto;
    }
}

.p-0 {
    padding: 0 !important;
}

.boxPanel {
    border: 1px solid #ddd;
    /* Garis tepi */
    padding: 5px;
    /* Ruang dalam */
    border-radius: 10px;
    /* Sudut melengkung */
    background-color: #ffffff;
    /* Warna latar */
    margin-bottom: 10px;
    /* Jarak bawah */
    box-shadow: #f5f3f3 0px 5px 5px 0px;
}

.camera {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    /* Gelap transparan */
    z-index: 2010;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0;
}

/* Video dalam Kamera */
video {
    width: 50%;
    height: 90%;
    object-fit: cover;
    /* Agar kamera memenuhi area */
    border-radius: 20px;
}

/* Tombol Ambil Foto */
.bCamera {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 2011;
    /* Supaya di atas video */
}

.bSwitch {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 2011;
    /* Supaya di atas video */
}

/* Hover Efek */
.bCamera:hover {
    background: rgba(255, 255, 255, 1);
}

/* Responsive untuk layar kecil */
@media (max-width: 768px) {
    .video {
        width: 90%;
        height: 90%;
        border-radius: 20px;

    }
}

.custom-popup .mfp-content {
    width: 80vw !important;
    max-width: 800px !important;
}

.custom-popup .mfp-img {
    width: 100% !important;
    max-height: 80vh !important;
    object-fit: contain;
}

.skeleton {
    background: linear-gradient(90deg, #eee 25%, #ddd 50%, #eee 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite linear;
    border-radius: 5px;
    min-height: 20px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.clear-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    display: none;
    z-index: 10;
}

.clear-icon:hover {
    color: #333;
}

.pr-30 {
    padding-right: 30px;
    /* Agar teks input tidak ketimpa icon */
}