/* UMNYJ AVTOOTVETCHIK — stili UI nastroek. Perevispolzuem rodnye .settings-* i .aya-switch. */

.ar-settings {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Zaglushennyj punkt (ii-rezhim nedostupen bez klyucha). */
.ar-row-disabled {
    opacity: 0.5;
}
.ar-hint,
.ar-note {
    font-size: 12px;
    color: var(--text-muted, #8a8a8e);
}
.ar-note {
    padding: 4px 14px 10px;
    line-height: 1.35;
}

/* Redaktor shablonov. */
.ar-templates {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ar-tpl-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
}
.ar-tpl-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid var(--border, rgba(120,120,128,0.28));
    background: var(--input-bg, rgba(120,120,128,0.10));
    color: var(--text, inherit);
    font-size: 15px;
    outline: none;
}
.ar-tpl-input:focus {
    border-color: var(--brand, #2f6fed);
}
.ar-tpl-del {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: var(--danger, #e5484d);
    cursor: pointer;
    border-radius: 8px;
}
.ar-tpl-del:active {
    background: rgba(229,72,77,0.12);
}
.ar-tpl-add {
    /* Naslednik .settings-row, no bez pravogo bloka. */
    color: var(--brand, #2f6fed);
}

/* Kuldaun-vvod. */
.ar-cooldown-row {
    /* Ne knopka — prosto stroka, kursor obychnyj. */
    cursor: default;
}
.ar-cooldown-input {
    width: 58px;
    text-align: right;
    padding: 6px 8px;
    margin-right: 4px;
    border-radius: 8px;
    border: 1px solid var(--border, rgba(120,120,128,0.28));
    background: var(--input-bg, rgba(120,120,128,0.10));
    color: var(--text, inherit);
    font-size: 15px;
    outline: none;
}
.ar-cooldown-input:focus {
    border-color: var(--brand, #2f6fed);
}
