.niadm-toggle-switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.niadm-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.niadm-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 28px;
}

.niadm-toggle-slider::before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: .3s;
    border-radius: 50%;
}

.niadm-toggle-switch input:checked + .niadm-toggle-slider {
    background-color: #2271b1;
}

.niadm-toggle-switch input:checked + .niadm-toggle-slider::before {
    transform: translateX(24px);
}

.niadm-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 24px 0;
}

.niadm-card {
    flex: 1 1 320px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    transition: box-shadow .2s, border-color .2s;
}

.niadm-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
    border-color: #bbb;
}

.niadm-card--disabled {
    opacity: .55;
}

.niadm-card__left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
}

.niadm-card__preview {
    font-size: 32px;
    line-height: 1;
    color: #2271b1;
}

.niadm-card__preview i {
    font-size: inherit;
}

.niadm-card--disabled .niadm-card__preview {
    color: #999;
}

.niadm-card__title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.niadm-card__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.niadm-card__status {
    font-size: 14px;
    font-weight: 500;
}

.niadm-card__status--enabled {
    color: #46b450;
}

.niadm-card__status--disabled {
    color: #dc3232;
}
