body {
    font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
}

aside nav {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

aside nav::-webkit-scrollbar {
    width: 6px;
}

aside nav::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 3px;
}

tbody tr:hover {
    background: #f9fafb;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 50;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1rem;
    overflow-y: auto;
}

.modal-panel {
    background: #fff;
    border-radius: 1rem;
    width: 100%;
    max-width: 640px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.modal-panel.modal-lg {
    max-width: 900px;
}

body.modal-open {
    overflow: hidden;
}

.modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.status-badge {
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-panel {
    animation: modalIn 0.2s ease-out;
}

.field-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.3rem;
    display: block;
}

.nav-link.active {
    background: #4f46e5;
    color: #fff;
}

.toast {
    animation: toastIn 0.25s ease-out;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
