/* Jet Follow Plugin styles v1.2 */

/* Общие настройки шрифта */
body, button, .jet-follow-btn, .jet-follow-list-name, .jet-follow-notify-btn, .jet-follow-notify-clear {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important;
}

/* ---------- КНОПКА ПОДПИСКИ ---------- */
.jet-follow-btn {
    --button-font-size: 13px;
    --button-width: 30px;
    --button-height: 28px;

    font-size: var(--button-font-size) !important;
    background: #f0f0f0 !important;
    color: #000 !important;
    border: none !important;
    border-radius: 7px !important;
    width: auto !important;
    min-width: var(--button-width) !important;
    height: var(--button-height) !important;
    padding: 0 10px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease-in-out !important;
}
.jet-follow-btn:hover,
.jet-follow-btn:focus {
    background: #0b5dd7 !important;
    color: #fff !important;
}

/* ---------- СПИСОК ПОДПИСЧИКОВ/ПОДПИСОК ---------- */
.jet-follow-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.jet-follow-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.jet-follow-list-link {
    display: flex;
    align-items: center;
    text-decoration: none !important;
    color: #000 !important;
}
.jet-follow-list-avatar img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
}
.jet-follow-list-name {
    font-size: 17px !important;
    color: #000 !important;
    padding: 0px 0px 0px 10px !important;
}

/* ---------- ИКОНКА УВЕДОМЛЕНИЙ ---------- */
/* ---------- ИКОНКА УВЕДОМЛЕНИЙ (обновлено) ---------- */
.jet-follow-notify-wrap {
    position: relative;
    display: inline-block;
}

.jet-follow-notify-btn {
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease-in-out !important;
}

.jet-follow-notify-btn img {
    width: 25px !important;
    height: 25px !important;
    object-fit: contain !important;
    filter: none !important; /* Убираем принудительное окрашивание */
    mix-blend-mode: normal !important;
}

.jet-follow-notify-btn:hover,
.jet-follow-notify-btn:focus {
    background: #ffffff !important;
    border-radius: 50% !important;
}

.jet-follow-notify-dot {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 8px;
    height: 8px;
    background: #0b5dd7 !important;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}


/* ---------- ПОПАП УВЕДОМЛЕНИЙ ---------- */
.jet-follow-notify-popup {
    position: absolute;
    top: 40px;
    right: 0;
    width: 450px;
    max-height: 70vh;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    overflow-y: auto;
    z-index: 9999;
}
/* ---------- АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ ---------- */
@media (max-width: 600px) {
    .jet-follow-notify-popup {
        position: fixed;            /* фиксируем, чтобы не "убежал" за экран */
        top: 10px;
        left: 5%;
        right: 5%;
        width: 90%;                /* вместо фиксированных 450px */
        max-height: 80vh;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    }
}
.jet-follow-notify-popup[aria-hidden="false"] {
    display: flex;
}

/* Скролл бар */
.jet-follow-notify-popup::-webkit-scrollbar {
    width: 6px;
}
.jet-follow-notify-popup::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}
.jet-follow-notify-popup:hover::-webkit-scrollbar-thumb {
    background: #aaa;
}

/* Заголовок и кнопка очистки */
.jet-follow-notify-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
}
.jet-follow-notify-title {
    font-size: 14px;
    font-weight: 500;
    color: #000;
}
.jet-follow-notify-clear {
    font-size: 12px !important;
    background: #f0f0f0 !important;
    color: #000 !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 1px 8px !important;
    height: 18px !important;
    cursor: pointer !important;
    transition: all 0.2s ease-in-out !important;
}
.jet-follow-notify-clear:hover {
    background: #0b5dd7 !important;
    color: #fff !important;
}

/* Элементы уведомлений */
.jet-follow-notif-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid #f5f5f5;
}
.jet-follow-notif-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: #000 !important;
    width: 100%;
}
.jet-follow-notif-avatar img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
}
.jet-follow-notif-body {
    display: flex;
    flex-direction: column;
}
.jet-follow-notif-name {
    font-size: 15px !important;
    color: #000 !important;
    font-weight: 500 !important;
}
.jet-follow-notif-msg {
    font-size: 13px !important;
    color: #333 !important;
}