.transaction-notification {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 999999;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(360px, calc(100vw - 40px));
    padding: 15px;
    background: #ffffff;
    color: #202124;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    animation: notification-slide-in 0.35s ease-out;
}

.transaction-notification[hidden] {
    display: none;
}

.country-flag {
    display: block;
    flex: 0 0 42px;
    width: 42px;
    height: 30px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eeeeee;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.notification-details {
    font-size: 13px;
    line-height: 1.5;
    color: #454545;
    overflow-wrap: anywhere;
}

.notification-time {
    margin-top: 5px;
    font-size: 11px;
    color: #888888;
}

.notification-close {
    align-self: flex-start;
    flex: 0 0 auto;
    padding: 0;
    border: none;
    background: transparent;
    color: #888888;
    font-size: 23px;
    line-height: 20px;
    cursor: pointer;
}

.notification-close:hover {
    color: #222222;
}

@keyframes notification-slide-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile layout */
@media (max-width: 480px) {
    .transaction-notification {
        left: 10px;
        bottom: 10px;
        width: calc(100vw - 20px);
        padding: 12px;
        gap: 10px;
    }

    .notification-title {
        font-size: 13px;
    }

    .notification-details {
        font-size: 12px;
    }
}
.package-name { color: #16a34a; font-weight: 700; }