#toastbar-zone {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.toastbar-main {
    display: flex;
    align-items: flex-start;
    min-width: 320px;
    max-width: 420px;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    color: #374151;
    animation: fadein 0.4s ease-out;
    position: relative;
    overflow: hidden;
    border-left: 4px solid #6b7280;
}

.toastbar-main .toast-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.toastbar-main .toast-content {
    flex-grow: 1;
    margin-right: 1.5rem;
}

.toastbar-main .toast-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.toastbar-main .toast-message {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #6b7280;
}

.toastbar-main .btn-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toastbar-main .btn-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.toastbar-success {
    border-left-color: #10b981;
}
.toastbar-success .toast-icon {
    color: #10b981;
}

.toastbar-error {
    border-left-color: #ef4444;
}
.toastbar-error .toast-icon {
    color: #ef4444;
}

.toastbar-warning {
    border-left-color: #f59e0b;
}
.toastbar-warning .toast-icon {
    color: #f59e0b;
}

.toastbar-info {
    border-left-color: #3b82f6;
}
.toastbar-info .toast-icon {
    color: #3b82f6;
}

@keyframes fadeout {
    0% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-10px); }
}
@keyframes fadein {
    0% { opacity: 0; transform: translateX(30px); }
    100% { opacity: 1; transform: translateX(0); }
}
