/* Professional Notification Toast Styling */
.connection-toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    pointer-events: none;
    /* Let clicks pass through */
}

.connection-card {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid #06b6d4;
    /* Accent color */
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 10px 15px -3px rgba(0, 0, 0, 0.3);

    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 280px;
    max-width: 340px;

    transform: translateX(-120%);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.connection-card.active {
    transform: translateX(0);
    opacity: 1;
}

/* Status Indicator */
.status-indicator {
    position: relative;
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.3);
    animation: pulse-ring 2s infinite;
    z-index: -1;
}

/* Text Content */
.toast-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toast-message {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
}

.toast-meta {
    color: #94a3b8;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-dot {
    width: 3px;
    height: 3px;
    background: #64748b;
    border-radius: 50%;
}

/* Animations */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .connection-toast-container {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
        width: 90%;
        display: flex;
        justify-content: center;
    }

    .connection-card {
        min-width: unset;
        width: 100%;
    }
}