@import "/assets/styles/search.css";

:root {
    --shadow-large: 0 0 24px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 0 16px rgba(0, 0, 0, 0.1);
    --shadow-small: 0 0 12px rgba(0, 0, 0, 0.05);
}

/*
Sortable
 */
.list-group {
    gap: 8px;
}
.list-group-item {
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid #dee2e6;
}
.sortable-chosen .list-group-item, .sortable-drag .list-group-item {
    transform: scale(1.01);
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.1);
}
.sortable-ghost {
    opacity: 0;
}
.sortable-drag {
    opacity: 1 !important;
}
.drag-handle {
    cursor: move;
    transform: scale(1.5);
    padding-inline: 4px;
}

/*
Modal
 */
.modal .modal-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/*
Nav
 */
.nav-pills {
    background: hsl(0, 0%, 98%);
    border: 1px solid white;
    border-radius: 64px;
    box-shadow: var(--shadow-large);
    padding: 4px;

    & .nav-link {
        border-radius: 64px;
    }
    & .nav-link:not(.active):hover {
        background: hsl(0, 0%, 94%);
    }
}

/*
Dropdown
 */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: var(--shadow-large);
    padding: 4px;

    & .dropdown-item {
        background: none;
        border-radius: 8px;
    }
    & .dropdown-item:hover {
        color: var(--bs-white);
        background: var(--bs-primary);
    }
}


