:root {
    --nsBlue: rgb(0, 14, 66);
    --nsOrange: rgb(255, 134, 36);
}

/* Custom button classes */
.btn-ns-blue {
    background-color: var(--nsBlue);
    border-color: var(--nsBlue);
    color: white;
}

.btn-ns-blue:hover {
    background-color: rgba(0, 14, 66, 0.8);
    border-color: rgba(0, 14, 66, 0.8);
}

.btn-ns-orange {
    background-color: var(--nsOrange);
    border-color: var(--nsOrange);
    color: white;
}

.btn-ns-orange:hover {
    background-color: rgba(255, 134, 36, 0.8);
    border-color: rgba(255, 134, 36, 0.8);
}

.btn-outline-ns-blue {
    color: var(--nsBlue);
    border-color: var(--nsBlue);
}

.btn-outline-ns-blue:hover {
    background-color: var(--nsBlue);
    color: white;
}

.btn-outline-ns-orange {
    color: var(--nsOrange);
    border-color: var(--nsOrange);
}

.btn-outline-ns-orange:hover {
    background-color: var(--nsOrange);
    color: white;
}

/* Standard containers */
.ns-container {
    padding: 2rem;
    margin: 1rem auto;
    max-width: 1200px;
    background-color: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.ns-card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    background-color: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.ns-card-header {
    padding: 0.75rem 1.25rem;
    background-color: var(--nsBlue);
    color: white;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.5rem - 1px);
    border-top-right-radius: calc(0.5rem - 1px);

    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
}

.ns-card-body {
    padding: 1.25rem;
}

.ns-sidebar {
    background: linear-gradient(180deg, var(--nsBlue) 0%, rgba(0, 14, 66, 0.95) 100%);
    color: white;
    min-height: 100vh;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.ns-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.ns-sidebar .nav-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.ns-sidebar .nav-link.active {
    color: var(--nsOrange);
    background-color: rgba(255, 134, 36, 0.15);
    border-left: 3px solid var(--nsOrange);
}

.ns-sidebar .nav-link i {
    width: 20px;
    text-align: center;
}

/* Dropdown styling */
.ns-sidebar .dropdown-menu {
    background-color: rgba(0, 14, 66, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 0.5rem;
}

.ns-sidebar .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.ns-sidebar .dropdown-item:hover {
    color: white;
    background-color: rgba(255, 134, 36, 0.2);
}

.ns-sidebar .dropdown-item i {
    width: 16px;
    text-align: center;
}

/* Sidebar brand styling */
.sidebar-brand {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.sidebar-brand h4 {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Hover effects for dropdown toggle */
.ns-sidebar .dropdown-toggle::after {
    transition: transform 0.3s ease;
}

.ns-sidebar .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

body {
    height: 100vh;
    margin: 0;
    font-family: 'Raleway', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'IBM Plex Sans', sans-serif;
}

/* Maatbogen hover effects */
.maat-item {
    transition: all 0.2s ease;
    cursor: move;
}

.maat-item:hover {
    background-color: #f8f9fa !important;
    border-color: var(--nsBlue) !important;
    box-shadow: 0 2px 8px rgba(0, 14, 66, 0.1);
    transform: translateY(-1px);
}

.maat-item .fa-grip-vertical {
    transition: color 0.2s ease;
    cursor: grab;
}

.maat-item:hover .fa-grip-vertical {
    color: var(--nsBlue) !important;
}

.maat-item:active .fa-grip-vertical {
    cursor: grabbing;
}

/* Maat input hover effects */
.maat-input {
    transition: all 0.2s ease;
}

.maat-input:hover {
    border-color: var(--nsBlue);
    box-shadow: 0 0 0 0.2rem rgba(0, 14, 66, 0.1);
}

.maat-input:focus {
    border-color: var(--nsBlue);
    box-shadow: 0 0 0 0.2rem rgba(0, 14, 66, 0.25);
}

/* Button hover effects for maatbogen */
.btn-outline-primary:hover {
    background-color: var(--nsBlue);
    border-color: var(--nsBlue);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 14, 66, 0.2);
}

.btn-outline-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

/* Table row hover effects */
.table-hover tbody tr:hover {
    background-color: rgba(0, 14, 66, 0.05);
    transform: scale(1.01);
    transition: all 0.2s ease;
}

/* Modal button hover effects */
.modal-footer .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Sortable placeholder styling */
.sortable-ghost {
    opacity: 0.4;
    background-color: var(--nsBlue) !important;
    border: 2px dashed var(--nsOrange) !important;
}

.sortable-chosen {
    transform: rotate(2deg);
    box-shadow: 0 4px 12px rgba(0, 14, 66, 0.3);
}