@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

.img-thumbnail.small {
    max-width: 100px;
}

.list-group-form-item {
    background-color: #FBFBFB;
    padding: 30px 15px;
    border: solid 1px #EEE;
    border-radius: 5px;
    list-style: none;
}

.auth-bg .bg-overlay {
    opacity: .6;
}

.loader {
    color: #002e6e;
    width: 3px;
    aspect-ratio: 1;
    border-radius: 50%;
    box-shadow: 19px 0 0 7px, 38px 0 0 3px, 57px 0 0 0;
    transform: translateX(-38px);
    animation: loader 0.5s infinite alternate linear;
    -webkit-box-shadow: 19px 0 0 7px, 38px 0 0 3px, 57px 0 0 0;
    -webkit-transform: translateX(-38px);
    -webkit-animation: loader 0.5s infinite alternate linear;
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 99999;
    display: none;
}

@keyframes loader {
    50% {
        box-shadow: 19px 0 0 3px, 38px 0 0 7px, 57px 0 0 3px;
    }

    100% {
        box-shadow: 19px 0 0 0, 38px 0 0 3px, 57px 0 0 7px;
    }
}

@-webkit-keyframes loader {
    50% {
        box-shadow: 19px 0 0 3px, 38px 0 0 7px, 57px 0 0 3px;
    }

    100% {
        box-shadow: 19px 0 0 0, 38px 0 0 3px, 57px 0 0 7px;
    }
}

.bg-w {
    background-color: #f8f6f4;
}

.img-prev {
    object-fit: cover;
    height: 70px;
    width: 70px;
}

.img-default-prev {
    height: auto;
    width: 70px;
}

.img-thumbnail-form {
    height: auto;
    width: 100px;
}

.filter-background {
    background-color: #f8f6f4;
}

.trash-button-answers {
    margin-top: 3.5%;
}

.alert-error {
    height: 150px;
    overflow: auto;
}

.table-activity tr {
    word-wrap: break-word;
    white-space: normal;
}

.required:after {
    content: ' *';
    color: #dc3545;
    font-weight: bold;
    display: inline;
}

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

.table.table-detail td:first-child {
    width: 220px;
}

select.form-control {
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
}

.datetime-with-icon,
.flatpickr-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='gray' viewBox='0 0 24 24'%3E%3Cpath d='M7 10h10v2H7zm0 4h7v2H7z'/%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
    /* Beri ruang untuk ikon */
}

body[data-sidebar=brand] .navbar-brand-box {
    background-color: #fbfaff;
    -webkit-box-shadow: 0 1px 0 #fbfaff;
    box-shadow: 0 1px 0 #fbfaff;
}

body[data-sidebar=brand] .navbar-brand-box .logo {
    color: #74788d !important;
}

@media (min-width: 992px) {
    body[data-sidebar=brand] #vertical-menu-btn {
        color: #74788d !important;
    }
}

body[data-sidebar=brand] .vertical-menu {
    background-color: #fbfaff;
}

body[data-sidebar=brand] .mm-active {
    color: #000000 !important;
}

body[data-sidebar=brand] #sidebar-menu ul li.menu-title {
    color: #74788d !important;
}

body[data-sidebar=brand] #sidebar-menu ul li a {
    color: #74788d !important;
}

body[data-sidebar=brand] #sidebar-menu ul li a svg {
    color: #74788d !important;
}

body[data-sidebar=brand] .mm-active .active svg {
    color: #74788d !important;
    fill: rgba(116, 120, 141, .2) !important;
}

body[data-sidebar=brand] #sidebar-menu ul li a.active {
    color: #02051c !important;
}

body[data-sidebar=brand][data-sidebar-size=sm] .vertical-menu #sidebar-menu>ul>li:hover>a {
    background-color: #e8e8e8;
    color: #74788d;
}

body[data-sidebar=brand][data-sidebar-size=sm] .vertical-menu #sidebar-menu ul li.mm-active .active {
    color: #02051c !important;
}

label {
    font-weight: 100 !important;
}

.form-control {
    font-weight: 100 !important;
}

/* Fix for Summernote bold formatting - override all inherited styles */
.note-editor.note-frame .note-editing-area .note-editable {
    font-weight: normal !important;
    font-family: inherit !important;
}

/* Override body font-weight inheritance for all elements in Summernote */
.note-editor.note-frame .note-editing-area .note-editable *,
.note-editor.note-frame .note-editing-area .note-editable p,
.note-editor.note-frame .note-editing-area .note-editable div,
.note-editor.note-frame .note-editing-area .note-editable span,
.note-editor.note-frame .note-editing-area .note-editable h1,
.note-editor.note-frame .note-editing-area .note-editable h2,
.note-editor.note-frame .note-editing-area .note-editable h3,
.note-editor.note-frame .note-editing-area .note-editable h4,
.note-editor.note-frame .note-editing-area .note-editable h5,
.note-editor.note-frame .note-editing-area .note-editable h6,
.note-editor.note-frame .note-editing-area .note-editable li,
.note-editor.note-frame .note-editing-area .note-editable td,
.note-editor.note-frame .note-editing-area .note-editable th {
    font-weight: normal !important;
}

/* Ensure bold formatting works for all bold elements and inline styles */
.note-editor.note-frame .note-editing-area .note-editable strong,
.note-editor.note-frame .note-editing-area .note-editable b,
.note-editor.note-frame .note-editing-area .note-editable strong *,
.note-editor.note-frame .note-editing-area .note-editable b *,
.note-editor.note-frame .note-editing-area .note-editable p strong,
.note-editor.note-frame .note-editing-area .note-editable p b,
.note-editor.note-frame .note-editing-area .note-editable div strong,
.note-editor.note-frame .note-editing-area .note-editable div b,
.note-editor.note-frame .note-editing-area .note-editable span strong,
.note-editor.note-frame .note-editing-area .note-editable span b,
.note-editor.note-frame .note-editing-area .note-editable [style*="font-weight: bold"],
.note-editor.note-frame .note-editing-area .note-editable [style*="font-weight:bold"],
.note-editor.note-frame .note-editing-area .note-editable [style*="font-weight: 700"],
.note-editor.note-frame .note-editing-area .note-editable [style*="font-weight:700"],
.note-editor.note-frame .note-editing-area .note-editable [style*="font-weight: 600"],
.note-editor.note-frame .note-editing-area .note-editable [style*="font-weight:600"] {
    font-weight: 700 !important;
}

.btn {
    font-weight: 100 !important;
}