
.tdax-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 400px;
}

.tdax-toast-notification {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 320px;
    max-width: 400px;
    border-left: 4px solid;
    animation: tdaxToastSlideIn 0.3s ease-out;
    transition: all 0.3s ease;
}

.tdax-toast-notification:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.tdax-toast-notification.tdax-toast-hiding {
    animation: tdaxToastSlideOut 0.3s ease-out forwards;
}

@keyframes tdaxToastSlideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes tdaxToastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

.tdax-toast-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
}

.tdax-toast-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tdax-toast-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.tdax-toast-message {
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    color: #6c757d;
}

.tdax-toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #6c757d;
    transition: all 0.2s;
}

.tdax-toast-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

.tdax-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    opacity: 0.3;
    border-radius: 0 0 0 12px;
    animation: tdaxToastProgress linear;
}

@keyframes tdaxToastProgress {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}

/* Toast types */
.tdax-toast-success {
    border-left-color: #28a745;
}

.tdax-toast-success .tdax-toast-icon {
    background: #d4edda;
    color: #28a745;
}

.tdax-toast-success .tdax-toast-title {
    color: #155724;
}

.tdax-toast-success .tdax-toast-progress {
    color: #28a745;
}

.tdax-toast-error {
    border-left-color: #dc3545;
}

.tdax-toast-error .tdax-toast-icon {
    background: #f8d7da;
    color: #dc3545;
}

.tdax-toast-error .tdax-toast-title {
    color: #721c24;
}

.tdax-toast-error .tdax-toast-progress {
    color: #dc3545;
}

.tdax-toast-warning {
    border-left-color: #ffc107;
}

.tdax-toast-warning .tdax-toast-icon {
    background: #fff3cd;
    color: #ffc107;
}

.tdax-toast-warning .tdax-toast-title {
    color: #856404;
}

.tdax-toast-warning .tdax-toast-progress {
    color: #ffc107;
}

.tdax-toast-info {
    border-left-color: #17a2b8;
}

.tdax-toast-info .tdax-toast-icon {
    background: #d1ecf1;
    color: #17a2b8;
}

.tdax-toast-info .tdax-toast-title {
    color: #0c5460;
}

.tdax-toast-info .tdax-toast-progress {
    color: #17a2b8;
}

.tdax-toast-debug {
    border-left-color: #6c757d;
}

.tdax-toast-debug .tdax-toast-icon {
    background: #e2e3e5;
    color: #6c757d;
}

.tdax-toast-debug .tdax-toast-title {
    color: #383d41;
}

.tdax-toast-debug .tdax-toast-progress {
    color: #6c757d;
}

/* Responsive */
@media (max-width: 576px) {
    .tdax-toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }

    .tdax-toast-notification {
        min-width: auto;
        max-width: none;
    }
}
