* {
    border-radius: 0 !important;
}

/* Custom sharp select styling: vertically centered text + crisp chevron */
select {
    appearance: none;
    -webkit-appearance: none;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-right: 1.75rem !important;
    line-height: normal;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%231c1e21' d='M1.5 3.25L5 6.75l3.5-3.5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.6rem center;
}

select.bg-neutral-900 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23ffffff' d='M1.5 3.25L5 6.75l3.5-3.5z'/%3E%3C/svg%3E");
}

/* High-contrast keyboard focus ring across all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #1c1e21 !important;
    outline-offset: 2px;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Responsive hierarchy indentation: tighter on mobile (375px), spacious on desktop */
.hierarchy-indent {
    padding-left: calc(var(--depth, 0) * 12px);
}
@media (min-width: 640px) {
    .hierarchy-indent {
        padding-left: calc(var(--depth, 0) * 24px);
    }
}

.sortable-ghost {
    opacity: 0.4;
    background-color: #e5e5e5 !important;
    border-style: dashed !important;
    border-color: #1c1e21 !important;
}

.sortable-chosen {
    box-shadow: 0 10px 24px -6px rgb(0 0 0 / 0.22);
}

.tree-drop-target {
    outline: 2px solid #1c1e21 !important;
    outline-offset: -2px;
    background-color: #eaeae8 !important;
}

.tree-dragging-active .tree-root-drop {
    border-color: #1c1e21;
    color: #1c1e21;
    background-color: #eaeae8;
}

@keyframes slideUp {
    from {
        transform: translateY(12px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-up {
    animation: slideUp 0.14s ease-out;
}
