/* ===== КНОПКА МИКРОФОНА ===== */
.akf .ak-mic {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;           /* круглая кнопка, как у вас в .feature-icon */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e9ecef;    /* ваш --border */
    transition: all 0.2s;
    cursor: pointer;
    padding: 0;
}
.akf .ak-mic:hover {
    background: #008edd;          /* ваш --primary */
    border-color: #008edd;
    box-shadow: 0 4px 12px rgba(0,142,221,0.2);
}
.akf .ak-mic:hover svg {
    stroke: #fff;
}
.akf .ak-mic svg {
    stroke: #6c757d;              /* ваш --gray */
    fill: none;
    stroke-width: 1.8;
    transition: stroke 0.2s;
    width: 20px;
    height: 20px;
}

/* Состояние записи */
.akf .ak-mic.rec {
    background: #dc3545;          /* ваш --danger */
    border-color: #dc3545;
    animation: micpulse 1.2s infinite;
}
.akf .ak-mic.rec svg {
    stroke: #fff;
}

/* Анимация пульсации */
@keyframes micpulse {
    0% { box-shadow: 0 0 0 0 rgba(220,53,69,0.5); }
    70% { box-shadow: 0 0 0 12px rgba(220,53,69,0); }
    100% { box-shadow: 0 0 0 0 rgba(220,53,69,0); }
}

/* Подсказка под полем ввода */
.akf .ak-mic-hint {
    font-size: 13px;
    color: #6c757d;               /* ваш --gray */
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.akf .ak-mic-hint.on {
    color: #dc3545;               /* ваш --danger (активное слушание) */
}

/* Для поля ввода – чтобы микрофон не перекрывал текст */
.akf .ak-pd-in input {
    padding-right: 56px;
}

/* ===== ПОДСКАЗКА "← другая категория" ===== */
.akf .ak-hintline {
    font-size: 13px;
    color: #6c757d;               /* ваш --gray */
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.akf .ak-hintline button,
.akf .ak-hintline a {
    background: none;
    border: none;
    color: #008edd;               /* ваш --primary */
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    text-decoration: none;
    transition: color 0.2s, border-bottom 0.2s;
    border-bottom: 1px solid transparent;
}
.akf .ak-hintline button:hover,
.akf .ak-hintline a:hover {
    color: #1e4ac9;               /* ваш --primary-dark */
    border-bottom-color: #1e4ac9;
}