﻿.up-popup {
    padding: 0;
    width: auto; 
    max-width: 280px; 
    min-width: 240px; 
}

    /* Шапка: email + статус */
    .up-popup .up-popup__head {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 14px;
        border-bottom: 0.5px solid #e3e7ff;
    }

    .up-popup .up-popup__status-dot-content {
        width: 13px;
        height: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .up-popup .up-popup__status-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #1d9e75;
        flex-shrink: 0;
    }

    .up-popup .up-popup__email {
        font-size: 14px;
        font-weight: 500;
        color: #2b2d33;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Список параметров */
    .up-popup .up-popup__items {
        padding: 4px 0;
        border-bottom: 0.5px solid #e3e7ff;
    }

    .up-popup .up-popup__item {
        display: flex;
        flex-direction: column;
        gap: 3px;
        align-items: start;
        justify-content: center;
        padding: 7px 14px;
    }

    .up-popup .up-popup__item-icon-content{
        display: flex;
        align-items: center;
        flex-direction: row;
        gap: 9px;
    }

    .up-popup .up-popup__item-icon {
        width: 13px;
        height: 13px;
        flex-shrink: 0;
    }

    .up-popup .up-popup__item-body {
        display: flex;
        flex-direction: row;
        flex: 1;
        min-width: 0;
    }

    .up-popup .up-popup__item-plug {
        width: 22px;
    }

    .up-popup .up-popup__item-key {
        font-size: 14px;
        font-weight: 400;
        color: #666666;
        line-height: 1.3;
    }

    .up-popup .up-popup__item-val {
        font-size: 14px;
        font-weight: 500;
        color: #2b2d33;
        line-height: 1.4;
        word-break: break-word; 
    }

    .up-popup .up-popup__divider {
        height: 0.5px;
        background: #e3e7ff;
        margin: 2px 14px;
    }

    /* Футер: действия */
    .up-popup .up-popup__footer {
        padding: 4px 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

        .up-popup .up-popup__footer .up-popup__action {
            display: flex;
            align-items: center;
            gap: 9px;
            padding: 7px 14px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 500;
            text-decoration: none;
            cursor: pointer;
            transition: background 0.15s ease;
            color: inherit;
            background: transparent;
            border: none;
            width: 100%;
            text-align: left;
            box-sizing: border-box; 
        }

            .up-popup .up-popup__footer .up-popup__action span:first-child {
                font-size: 13px;
                flex-shrink: 0;
                margin-top: 1px;
                line-height: 1;
            }

        .up-popup .up-popup__footer .up-popup__action {
            color: inherit;
        }

        .up-popup .up-popup__footer .up-popup__action--cab {
            color: #616eb9;
        }

            .up-popup .up-popup__footer .up-popup__action--cab:hover {
                background: #f3f5ff;
                color: #616eb9;
                text-decoration: none;
            }

        .up-popup .up-popup__footer .up-popup__action--exit {
            color: #e74c3c;
        }

            .up-popup .up-popup__footer .up-popup__action--exit:hover {
                background: #fff0f0;
                color: #e74c3c;
            }

        .up-popup .up-popup__footer .up-popup__action-arrow {
            margin-left: auto;
            font-size: 13px;
            opacity: 0.4;
            flex-shrink: 0; 
        }
