


/*Switch onoff*/
.ai-feeds .ai-feeds-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 22px;
}

.ai-feeds .ai-feeds-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ai-feeds .ai-feeds-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 22px;
}

.ai-feeds .ai-feeds-slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.ai-feeds .ai-feeds-switch input:checked + .ai-feeds-slider {
    background-color: #2271b1;
}

.ai-feeds .ai-feeds-switch input:checked + .ai-feeds-slider::before {
    transform: translateX(20px);
}



input#openai_apikey {
    width: calc(100% - 25px);
}
input#openai_apikey {
    width: 100%;
}

#openai_apikey[readonly] {
    opacity: 0.5;
    pointer-events: none;
    background: #f8f8f8;
}