/**
 * Toast Notifications für Noble Sedcard System
 */

.noble-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100000; /* Höher als Progress-Navigation (100) */
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
}

.noble-toast {
    background: linear-gradient(135deg, #ffffff 0%, #f8f5f0 100%);
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-left: 4px solid;
    display: flex !important;
    align-items: center;
    gap: 12px;
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    animation: slideIn 0.3s ease-out forwards;
    animation-fill-mode: both;
    opacity: 1 !important;
    visibility: visible !important;
    transition: all 0.3s ease;
}

.noble-toast:hover {
    transform: translateX(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.noble-toast.success {
    border-left-color: #10b981;
}

.noble-toast.error {
    border-left-color: #ef4444;
}

.noble-toast.warning {
    border-left-color: #f97316;
}

.noble-toast.info {
    border-left-color: #dbc16d;
}

.noble-toast-icon {
    font-size: 20px;
    line-height: 1;
}

.noble-toast.success .noble-toast-icon {
    color: #10b981;
}

.noble-toast.error .noble-toast-icon {
    color: #ef4444;
}

.noble-toast.warning .noble-toast-icon {
    color: #f97316;
}

.noble-toast.info .noble-toast-icon {
    color: #dbc16d;
}

.noble-toast-content {
    flex: 1;
}

.noble-toast-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
    color: #1c1c1c;
}

.noble-toast-message {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.noble-toast-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

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

@keyframes slideIn {
    0% {
        transform: translateX(400px);
        opacity: 0;
        visibility: visible;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.noble-toast.hiding {
    animation: slideOut 0.3s ease-out forwards;
}

/* Mobile */
@media (max-width: 768px) {
    .noble-toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .noble-toast {
        padding: 14px 16px;
        font-size: 13px;
    }
}

