.departments.grid-wrapper {
    position: relative;
    .department-scaling {
        width: 250px !important;
    }

    .department-button {
        position: absolute;
        top: 3px;
        right: 3px;
        border: none;
    }
}

.department-disabled {
    opacity: 0.7;
    filter: grayscale(20%);
    pointer-events: none; /* Prevent clicks */
}

.departments-grid {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    justify-content: center;
    flex-direction: column;
}

/* Department Navigation Arrows */
.department-name-with-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
}

.dept-nav-arrow-form {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.dept-non-arrow {
    width: 25px;
}

.dept-nav-arrow {
    color: #0f0;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: none;
    width: 25px;
}

.dept-nav-arrow:hover:not(.disabled) {
    background: #333;
    border-color: #0f0;
    color: #fff;
    transform: scale(1.1);
}

.dept-nav-arrow.disabled {
    background: #111;
    color: #555;
    border-color: #333;
    cursor: not-allowed;
}

.dept-nav-arrow.disabled:hover {
    transform: none;
    background: #111;
    border-color: #333;
    color: #555;
}

.department-name-text {
    text-align: center;
}
