/* Toastr Custom CSS - Antigravity UI */

#toastr-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 420px;
    width: calc(100% - 40px);
    pointer-events: none;
}

.toastr-toast {
    pointer-events: auto;
    background: #ffffff;
    color: #1e293b;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(0);
    animation: toastrSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 5px solid #3b82f6;
    position: relative;
}

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

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

.toastr-toast.toastr-warning {
    border-left-color: #f59e0b;
}

.toastr-toast.toastr-info {
    border-left-color: #3b82f6;
}

.toastr-content-wrapper {
    display: flex;
    align-items: flex-start;
    padding: 14px 16px;
    gap: 12px;
}

.toastr-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

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

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

.toastr-toast.toastr-warning .toastr-icon {
    color: #f59e0b;
}

.toastr-toast.toastr-info .toastr-icon {
    color: #3b82f6;
}

.toastr-text {
    flex: 1;
    min-width: 0;
}

.toastr-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
    color: #0f172a;
    line-height: 1.3;
}

.toastr-message {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.4;
    word-break: break-word;
}

.toastr-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: #94a3b8;
    padding: 0 2px;
    transition: color 0.2s ease;
    margin-left: 4px;
}

.toastr-close:hover {
    color: #0f172a;
}

.toastr-progress {
    height: 3px;
    width: 100%;
    background: rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.toastr-progress-bar {
    height: 100%;
    width: 100%;
    transition: width linear;
}

.toastr-toast.toastr-success .toastr-progress-bar {
    background: #10b981;
}

.toastr-toast.toastr-error .toastr-progress-bar {
    background: #ef4444;
}

.toastr-toast.toastr-warning .toastr-progress-bar {
    background: #f59e0b;
}

.toastr-toast.toastr-info .toastr-progress-bar {
    background: #3b82f6;
}

.toastr-toast.toastr-hiding {
    animation: toastrSlideOut 0.3s forwards cubic-bezier(0.7, 0, 0.84, 0);
}

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

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