.ef-pabx-alert-root {
    position: fixed;
    top: 78px;
    right: 18px;
    z-index: 1085;
    width: min(390px, calc(100vw - 36px));
    max-height: calc(100vh - 100px);
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(23, 43, 77, .24);
    border: 1px solid rgba(0, 123, 255, .16);
}

.ef-pabx-alert-root[hidden] {
    display: none !important;
}

.ef-pabx-alert-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 12px;
    background: #f4f8fc;
    border-bottom: 1px solid #e4ebf2;
}

.ef-pabx-alert-title {
    min-width: 0;
    font-weight: 700;
    color: #1f2d3d;
}

.ef-pabx-alert-title .fa-phone-volume {
    margin-right: 5px;
    color: #007bff;
}

.ef-pabx-alert-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin-left: 5px;
    padding: 0 6px;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 12px;
}

.ef-pabx-sound-toggle {
    flex: 0 0 auto;
    border: 1px solid #ced4da;
    border-radius: 7px;
    background: #fff;
    color: #6c757d;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
}

.ef-pabx-sound-toggle.is-active {
    color: #0b6b2f;
    border-color: #83c99f;
    background: #edf9f1;
}

.ef-pabx-alert-list {
    max-height: calc(100vh - 155px);
    overflow-y: auto;
}

.ef-pabx-alert-card {
    padding: 13px 14px;
    border-bottom: 1px solid #edf0f3;
    background: #fff;
}

.ef-pabx-alert-card:last-child {
    border-bottom: 0;
}

.ef-pabx-alert-kicker {
    margin-bottom: 3px;
    color: #007bff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.ef-pabx-alert-contact {
    color: #212529;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.ef-pabx-alert-preview {
    margin-top: 5px;
    color: #5f6b76;
    font-size: 13px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ef-pabx-alert-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
}

@media (max-width: 575.98px) {
    .ef-pabx-alert-root {
        top: 68px;
        left: 10px;
        right: 10px;
        width: auto;
        max-height: calc(100vh - 82px);
    }

    .ef-pabx-alert-list {
        max-height: calc(100vh - 140px);
    }
}
