/**
 * Toast-Notification Styles
 */

:root {
    --cct-toast-bg: #333;
    --cct-toast-color: #fff;
    --cct-toast-success-bg: #0c8f2e;
    --cct-toast-info-bg: #2271b1;
    --cct-toast-error-bg: #d63638;
    --cct-toast-warning-bg: #dba617;
}

.cct-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--cct-toast-bg);
    color: var(--cct-toast-color);
    padding: 12px 20px;
    border-radius: 3px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 99999999;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    max-width: 300px;
    word-wrap: break-word;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cct-toast.show,
.cct-toast.cct-toast--visible {
    opacity: 1;
    transform: translateY(0);
}

.cct-toast-success {
    background: var(--cct-toast-success-bg);
}

.cct-toast-info {
    background: var(--cct-toast-info-bg);
}

.cct-toast-error {
    background: var(--cct-toast-error-bg);
}

.cct-toast-warning {
    background: var(--cct-toast-warning-bg);
}

.cct-toast__icon {
    flex-shrink: 0;
    font-size: 16px;
}

.cct-toast__message {
    flex: 1;
}

/* Mobile */
@media (max-width: 768px) {
    .cct-toast {
        bottom: 100px;
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 13px;
        padding: 14px 18px;
    }
}

