.edit-dept-popup-modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 11;
    cursor: pointer;
}

.edit-dept-popup-modal__transparent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 99999;
}

.edit-dept-popup-modal__loading-overlay {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100% - 60px);
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.edit-dept-popup-modal__container {
    position: fixed;
    bottom: 0px;
    top: 63px;
    width: 298px;
    height: calc(100svh - 63px);
    background-color: var(--people-color-white);
    z-index: 1000;
    box-shadow: 0px 3px 6px var(--people-shadow-hint);
    line-height: 1.5 !important;
    font-size: var(--people-font-size-ml) !important;
    flex-direction: column;
    display: flex;
    opacity: 1;
    right: 0;
    transform: translateX(0);
}

.edit-dept-popup-modal__container.show {
    animation: edit-dept-popup-modal__slide-in-right 0.35s ease-out;
}

@keyframes edit-dept-popup-modal__slide-in-right {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.edit-dept-popup-modal__header {
    color: var(--people-text-color);
    height: 55px;
    padding: 17px 20px;
    border-bottom: 1px solid var(--people-border-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.edit-dept-popup-modal__title {
    padding-top: 5px;
    font-weight: var(--people-font-weight-bold);
    font-size: var(--people-font-size-md);
}

.edit-dept-popup-modal__close-btn {
    background: none;
    border: none;
    color: var(--people-text-color);
    font-size: var(--people-font-size-lg);
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    line-height: 1;
}

.edit-dept-popup-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 10px 20px 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.edit-dept-popup-modal__body .has-error .control-label {
    color: var(--people-text-color) !important;
}

.edit-dept-popup-modal__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.edit-dept-popup-modal__label {
    margin-bottom: 10px !important;
    color: var(--people-text-color) !important;
}

.edit-dept-popup-modal__form-input {
    width: 100%;
    padding: 6px 10px !important;
    border: 1px solid var(--people-border-gray) !important;
    border-radius: var(--people-border-radius) !important;
    outline: none;
    font-size: var(--people-font-size-sm) !important;
    color: var(--people-text-color) !important;
}

.edit-dept-popup-modal__form-input:hover,
.edit-dept-popup-modal__form-input:focus {
    box-shadow: none !important;
}

.edit-dept-popup-modal__textarea {
    resize: none;
    border-radius: var(--people-border-radius) !important;
    font-size: var(--people-font-size-sm) !important;
    padding: 6px 10px !important;
    color: var(--people-text-color) !important;
}

.edit-dept-popup-modal__textarea:focus {
    border: 1px solid var(--people-border-gray) !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.edit-dept-popup-modal__footer {
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.edit-dept-popup-modal__confirm-btn {
    background-color: var(--people-color-orange);
    color: var(--people-color-white);
    border: none;
}

.edit-dept-popup-modal__confirm-btn:disabled {
    background-color: var(--people-color-gray-medium);
    color: var(--people-color-white);
    cursor: not-allowed;
}

.edit-dept-popup-modal__cancel-btn {
    background-color: var(--people-color-white);
    border: solid 1px var(--people-color-orange);
    color: var(--people-color-orange);
}

.edit-dept-popup-modal__cancel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}