/* Minimal Session Toast Notifications */
.session-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    pointer-events: none;
}

.session-toast {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    min-width: 320px;
    max-width: 400px;
    animation: sessionSlideIn 0.3s ease-out;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.session-toast.warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.session-toast.expired {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.session-toast.success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.session-toast-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.session-toast-icon {
    font-size: 22px;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.session-toast-title {
    font-weight: 600;
    font-size: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.session-toast-time {
    margin: 8px 0 12px 0;
    font-size: 14px;
    line-height: 1.4;
    opacity: 0.95;
}

.session-toast-time strong {
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.session-toast-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.session-toast-btn {
    flex: 1;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.session-toast-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.session-toast-btn:active {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(0);
}

.session-toast-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.session-toast-btn.extend-btn {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Animations */
@keyframes sessionSlideIn {
    from {
        transform: translateX(400px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

@keyframes sessionSlideOut {
    from {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateX(400px) scale(0.9);
        opacity: 0;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .session-toast {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .session-toast {
        border: 2px solid rgba(255, 255, 255, 0.8);
    }
    
    .session-toast-btn {
        border: 2px solid rgba(255, 255, 255, 0.8);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .session-toast {
        animation: none;
    }
    
    .session-toast-btn {
        transition: none;
    }
    
    .session-toast-btn:hover {
        transform: none;
    }
}

/* Mobile responsive */
@media (max-width: 480px) {
    .session-toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .session-toast {
        min-width: auto;
        max-width: none;
        padding: 14px 16px;
    }
    
    .session-toast-title {
        font-size: 14px;
    }
    
    .session-toast-time {
        font-size: 13px;
    }
    
    .session-toast-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .session-toast-btn {
        width: 100%;
    }
}

/* Print */
@media print {
    .session-toast-container {
        display: none;
    }
}