.topbar-user .profile-pic {
    display: flex;
    align-items: center;
}

.topbar-user .avatar-sm {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-user .status-indicator {
    width: 10px;
    height: 10px;
    border: 2px solid white;
}

.topbar-user .profile-username {
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2; /* Memastikan spasi vertikal sesuai */
}

.topbar-user .small.text-muted {
    display: flex;
    align-items: center;
}

#sidebar-form {
    width: 420px;
    position: fixed;
    right: -440px;
    top: 0;
    height: 100vh;
    background: var(--bs-white);
    box-shadow: -2px 0px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
    z-index: 1050;
    overflow-y: auto;
    border-radius: 0px 0 0 0px;
}
#sidebar-form.active {
    right: 0;
}
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1049;
}
.overlay.active {
    display: block;
}

.form-control {
    border-radius: 10px;
    padding: 10px;
}
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}


.select2-container .select2-selection--single {
    box-sizing: border-box !important;
    cursor: pointer !important;
    display: block !important;
    height: 45px !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    /* padding: 6px !important; */
    font-size: 16px !important;
    border-radius: 10px !important;
    border: 2px solid #ebedf2 !important;
}

/* Select2 multiple: keep placeholder fully visible and match single height */
.select2-container .select2-selection--multiple {
    box-sizing: border-box !important;
    min-height: 45px !important;
    border-radius: 10px !important;
    border: 2px solid #ebedf2 !important;
    padding: 6px 10px !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px 8px !important;
}
.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 6px 8px !important;
    width: 100% !important;
}
.select2-container .select2-selection--multiple .select2-selection__choice {
    margin: 0 !important;
}
.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
    width: 100% !important;
    min-width: 140px !important;
    height: 28px !important;
    line-height: 28px !important;
    padding: 0 !important;
}
/* 
.select2-container .select2-selection--single:focus {
    border: 2px solid #000000 !important;
} */

/* .select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border: 2px solid #000000 !important;
} */

.background-svg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 700"><defs><linearGradient id="bgGradient" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%232D9CDB;stop-opacity:1"/><stop offset="100%" style="stop-color:%2356CCF2;stop-opacity:1"/></linearGradient></defs><rect width="1440" height="700" fill="url(%23bgGradient)"/><circle cx="200" cy="100" r="50" fill="white" opacity="0.3"/><circle cx="1300" cy="600" r="70" fill="white" opacity="0.2"/><path d="M300 250 Q450 150, 600 250 T900 250" stroke="white" stroke-width="4" fill="none" opacity="0.4"/><path d="M100 500 Q300 350, 500 500 T900 500" stroke="white" stroke-width="3" fill="none" opacity="0.3"/><circle cx="720" cy="180" r="50" fill="white" opacity="0.2"/><circle cx="720" cy="180" r="25" fill="%232D9CDB"/></svg>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

ul.no-dot-list {
    list-style: none;
    padding-left: 0; /* Menghilangkan indentasi bawaan */
    margin-left: 0;
}

/* Login */

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background-color: var(--bs-component-active-bg);
    min-height: 100vh;
}

.sign-up-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background-color: var(--bs-component-active-bg);
    min-height: 100vh;
}

@media (max-width: 600px) {
    .word-text {
        display: none;
    }
    .login-container {
        padding: 0px 30px 0px 30px;
    }
    .sign-up-container {
        padding: 30px 30px 0px 30px;
    }
}

.ri-times{
    width: 17px;
    height: 17px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="black" d="M256 0c-17.7 0-32 14.3-32 32l0 64c0 17.7 14.3 32 32 32s32-14.3 32-32l0-29.3C378.8 81.9 448 160.9 448 256c0 106-86 192-192 192S64 362 64 256c0-53.7 22-102.3 57.6-137.1c12.6-12.4 12.8-32.6 .5-45.3S89.5 60.8 76.8 73.1C29.5 119.6 0 184.4 0 256C0 397.4 114.6 512 256 512s256-114.6 256-256S397.4 0 256 0zM193 159c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l80 80c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-80-80z"/></svg>');
    background-size: contain;
    display: inline-block;
}

/* Select2 z-index normalization */
.select2-container {
    z-index: 1;
}

/* Raise when open so dropdown sits above modals/backdrops */
.select2-container--open {
    z-index: 2000 !important;
}
.select2-container--open .select2-dropdown {
    z-index: 2001 !important;
}

/* Inside modals, keep consistent high stacking */
.modal .select2-container {
    z-index: 1052;
}
.modal .select2-container--open {
    z-index: 2000 !important;
}
.modal .select2-container--open .select2-dropdown {
    z-index: 2001 !important;
}