.form-container {
    margin-left: 296px;
    margin-top: 36px;
    margin-right: 36px;
    padding: 24px 16px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}
.light-theme .form-container {
    background: #1c1f1c;
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb span {
    font-weight: bold;
}
.light-theme .breadcrumb > * {
    color: #c9c5c6;
}

.form-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 15px 20px;
    align-items: center;
    max-width: 600px;
}
.form-grid.form-grid_login {
    gap: 5px 20px;
}

.form-grid input,
.form-grid select {
    padding: 8px 10px;
    background: #f9f9f9;
    font-size: 14px;
    border: none;
    height: 56px;
    border-bottom: 1px solid #1c1b1c;
}
.input-wrapper input {
    width: 100%;
}
.light-theme .form-grid input:not(.login-container .form-grid input):not(.input-wrapper),
.light-theme .form-grid select:not(.login-container .form-grid select):not(.input-wrapper) {
    background: #fff;
}
.form-grid input:focus-visible {
    outline: none;
}

.main-content-action .form-grid {
    font-weight: 400;
    font-size: 20px;
    color: #000;
    gap: 24px 24px;
}
.light-theme .main-content-action .form-grid {
    color: #fff;
}

.main-content-action .form-grid-device {
    margin-top: 34px;
}

.main-content-action .form-actions {
    grid-column: 1 / span 1;
    margin-top: 0;
}
.main-content-action .form-actions-schedulers {
    margin-top: 20px;
}
.main-content-action .form-actions-ldap {
    display: flex;
    gap: 10px;
}


.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #1c1b1c;
}

.custom-select select {
    width: 100%;
    padding: 8px 30px 8px 10px;
    font-size: 14px;
    background-color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none;
    outline: none;
    border: none;
}

.custom-select::after {
    content: "▾";
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
}

.form-actions {
    grid-column: 2 / span 1;
    margin-top: 20px;
}

.btn-theme {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.btn-red {
    background: #E20714;
    color: white;
}
.type-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 1em;
    width: fit-content;
}

.type-toggle__autentification {
    gap: 0;
}
.type-toggle__folder {
    gap: 0;
}


.type-toggle .badge {
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 13px;
    cursor: pointer;
}

.type-toggle__autentification .badge {
    border-radius: 8px;
}
.type-toggle__folder__left .badge {
    border-radius: 100px 0 0 100px;
}
.type-toggle__folder__inner .badge {
    border-radius: 0;
}
.type-toggle__folder__right .badge {
    border-radius: 0 100px 100px 0;
}

.type-toggle input[type="radio"] {
    display: none;
}

.type-toggle input[type="radio"]:checked + .badge {
    border: 1px solid #E20714;
    color: #fff;
    background: #E20714;
}

.type-toggle__autentification input[type="radio"]:checked + .badge {
    border-radius: 8px;
}

.type-toggle .badge.gray {
    background: #eee;
    color: #444;
    border: 1px solid #e20714;
}

.input-password-wrapper {
    position: relative;
}

.input-password-wrapper input {
    width: 100%;
    padding-right: 35px;
}

.input-password-wrapper_auth input{
    padding: 8px 50px 8px 10px;
}

.input-password-wrapper .show-password {
    position: absolute;
    font-size: 20px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
}

.threshold-block {
    margin-top: 30px;
    padding-top: 10px;
}

.threshold-block .level-label {
    border-bottom: 1px solid #cac4d0;
    padding-bottom: 11px;
}

.level-label {
    display: flex;
    align-items: center;
    font-weight: bold;
    margin-bottom: 10px;
}
.light-theme .level-label {
    color: #fff;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.status-indicator.yellow {
    background-color: #f1c40f;
}

.status-indicator.red {
    background-color: #E20714;
}




.custom-select-multibox {
    position: relative;
    max-width: 400px;
    font-family: inherit;
}

.select-box {
    background-color: #f5f0f0;
    border: none;
    border-bottom: 2px solid #aaa;
    border-radius: 4px;
    padding: 10px 12px;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.light-theme .select-box {
    color: #000;
}

.select-box .arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    pointer-events: none;
}
.light-theme .select-box .arrow {
    color: #000;
}

.checkbox-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 20;
}

.checkbox-list label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.checkbox-list input[type="checkbox"] {
    margin-right: 6px;
}

.hidden {
    display: none;
}
.checkbox-list label.checkbox-list__label {
    text-align: start;
    align-items: center;
    display: flex;
}
.light-theme .checkbox-list label.checkbox-list__label {
    color: black;
}