* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    padding-top: 0;
    padding-bottom: 0;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    /* border-top: 1px solid #ddd; */
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.bottom-nav a {
    flex: 1;
    height: 100%;
    text-decoration: none;
    color: #6b7280;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    position: relative;
    border-radius: 0;
    /* default */
}

.bottom-nav a i {
    font-size: 20px;
    margin-bottom: 4px;
}

.bottom-nav a.active {
    color: #4f46e5;
    border-radius: 0 0 12px 12px;
    /* ✅ Rounded bawah */
}

/* ✅ Border top pendek di atas item aktif */
.bottom-nav a.active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    /* Sesuaikan lebar garis */
    height: 5px;
    background-color: #4f46e5;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
}

/* =========================
   SUMMERNOTE DARK MODE
========================= */
[data-bs-theme="dark"] .note-editor {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

[data-bs-theme="dark"] .note-toolbar {
    background-color: var(--bs-tertiary-bg);
    border-bottom: 1px solid var(--bs-border-color);
}

[data-bs-theme="dark"] .note-btn {
    background-color: transparent;
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .note-btn:hover {
    background-color: var(--bs-secondary-bg);
}

[data-bs-theme="dark"] .note-dropdown-menu {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .note-modal-content {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .note-editable {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .note-statusbar {
    background-color: var(--bs-tertiary-bg);
    border-top: 1px solid var(--bs-border-color);
}

/* =========================
   SELECT2 BOOTSTRAP 5 DARK
========================= */

/* Field box */
[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-selection {
    background-color: var(--bs-body-bg) !important;
    border: 1px solid var(--bs-border-color) !important;
    color: var(--bs-body-color) !important;
}

/* Text terpilih */
[data-bs-theme="dark"]
    .select2-container--bootstrap-5
    .select2-selection__rendered {
    color: var(--bs-body-color) !important;
}

/* Placeholder */
[data-bs-theme="dark"]
    .select2-container--bootstrap-5
    .select2-selection__placeholder {
    color: var(--bs-secondary-color) !important;
}

/* Arrow */
[data-bs-theme="dark"]
    .select2-container--bootstrap-5
    .select2-selection__arrow {
    color: var(--bs-body-color) !important;
}

/* Multiple select tags */
[data-bs-theme="dark"]
    .select2-container--bootstrap-5
    .select2-selection--multiple {
    background-color: var(--bs-body-bg) !important;
    border: 1px solid var(--bs-border-color) !important;
}

[data-bs-theme="dark"]
    .select2-container--bootstrap-5
    .select2-selection--multiple
    .select2-selection__choice {
    background-color: var(--bs-secondary-bg) !important;
    border: 1px solid var(--bs-border-color) !important;
    color: var(--bs-body-color) !important;
}

/* Dropdown */
[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-dropdown {
    background-color: var(--bs-body-bg) !important;
    border: 1px solid var(--bs-border-color) !important;
}

/* Search input */
[data-bs-theme="dark"] .select2-container--bootstrap-5 .select2-search__field {
    background-color: var(--bs-tertiary-bg) !important;
    color: var(--bs-body-color) !important;
    border: 1px solid var(--bs-border-color) !important;
}

/* Options */
[data-bs-theme="dark"]
    .select2-container--bootstrap-5
    .select2-results__option {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
}

[data-bs-theme="dark"]
    .select2-container--bootstrap-5
    .select2-results__option--highlighted {
    background-color: var(--bs-primary);
    color: #fff;
}

/* .container {
    max-width: 1100px !important;
} */

/* 380px ke atas (mobile sedang) */
@media (min-width: 375px) {
    body {
        font-size: 11px;
    }
}

@media (min-width: 480px) {
    body {
        font-size: 11px;
    }
}

/* 768px ke atas (tablet) */
@media (min-width: 768px) {
    body {
        font-size: 12px;
    }
}

/* 1024px ke atas (laptop/desktop) */
@media (min-width: 1024px) {
    body {
        font-size: 13px;
    }
}

/* 1440px ke atas (desktop besar) */
@media (min-width: 1440px) {
    body {
        font-size: 15px;
    }
}
