.push-toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 380px;
    width: 100%;
    pointer-events: none;
}

.push-toast {
    pointer-events: auto;
    background: #fffbe6;
    border: 3px solid #5b21b6;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(245, 197, 24, 0.3);
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.push-toast-slide-in {
    opacity: 1;
    transform: translateX(0);
}

.push-toast-slide-out {
    opacity: 0;
    transform: translateX(100%);
}

.push-toast-header {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: #fff3cd;
    border-bottom: 1px solid #fff3cd;
    gap: 8px;
}

.push-toast-icon {
    font-size: 1.1rem;
    color: #b8860b;
    flex-shrink: 0;
}

.push-toast-title {
    flex: 1;
    font-weight: 600;
    font-size: 0.875rem;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.push-toast-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

.push-toast-close:hover {
    color: #333;
}

.push-toast-body {
    padding: 8px 12px;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.push-toast-sender {
    padding: 0 12px 6px;
    font-size: 0.75rem;
    color: #888;
}

.push-toast-link {
    display: block;
    padding: 8px 12px;
    font-size: 0.8rem;
    color: #b8860b;
    text-decoration: none;
    border-top: 1px solid #fff3cd;
    transition: background 0.2s;
}

.push-toast-link:hover {
    background: #fff8e1;
    color: #8b6914;
}

/* Presence indicator dots */
.presence-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #fff;
    flex-shrink: 0;
}

.presence-dot-awake {
    background-color: #28a745;
}

.presence-dot-idle {
    background-color: #ffc107;
}

.presence-dot-logged_out {
    background-color: #adb5bd;
}

/* Mobile responsive */
@media (max-width: 575.98px) {
    .push-toast-container {
        top: auto;
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Dark mode */
[data-theme="dark"] .push-toast {
    background: #2a2510;
    border-color: #7c3aed;
    box-shadow: 0 6px 24px rgba(245, 197, 24, 0.2);
}

[data-theme="dark"] .push-toast-header {
    background: #332e14;
    border-bottom-color: #332e14;
}

[data-theme="dark"] .push-toast-title {
    color: #e0e0e0;
}

[data-theme="dark"] .push-toast-close {
    color: #777;
}

[data-theme="dark"] .push-toast-close:hover {
    color: #e0e0e0;
}

[data-theme="dark"] .push-toast-body {
    color: #ccc;
}

[data-theme="dark"] .push-toast-sender {
    color: #999;
}

[data-theme="dark"] .push-toast-link {
    border-top-color: #2a2510;
}

[data-theme="dark"] .push-toast-link:hover {
    background: #3d3518;
}

[data-theme="dark"] .presence-dot {
    border-color: #1e1e1e;
}
