/*
 * TGG-GLOBAL-NEW-MESSAGE-POPUP-CSS-20260924
 */

.tgg-new-message-popup {
    position: fixed;
    top: 18px;
    right: 18px;

    display: flex;
    align-items: center;
    gap: 11px;

    width: calc(100% - 36px);
    max-width: 340px;

    padding: 13px 42px 13px 14px;

    background: #ffffff;
    color: #222222 !important;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;

    box-shadow:
        0 8px 28px rgba(0, 0, 0, 0.18);

    text-decoration: none !important;

    z-index: 999999;

    opacity: 0;
    transform: translateY(-18px);

    pointer-events: none;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.tgg-new-message-popup.tgg-popup-show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.tgg-message-popup-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    border-radius: 50%;
    background: #f1f3f5;

    font-size: 20px;
}

.tgg-message-popup-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tgg-message-popup-content strong {
    display: block;

    color: #222222;

    font-size: 14px;
    line-height: 19px;
}

.tgg-message-popup-content small {
    display: block;

    margin-top: 2px;

    color: #666666;

    font-size: 12px;
    line-height: 17px;
}

.tgg-message-popup-close {
    position: absolute;

    top: 7px;
    right: 10px;

    width: 25px;
    height: 25px;

    line-height: 23px;
    text-align: center;

    color: #777777;

    font-size: 21px;

    cursor: pointer;
}

@media (max-width: 767px) {
    .tgg-new-message-popup {
        top: 10px;
        right: 10px;

        width: calc(100% - 20px);
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tgg-new-message-popup {
        transition: none;
    }
}
