.toast {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    min-width: 350px;
    max-width: 400px;
    pointer-events: auto;
    border-left: 4px solid #28a745; /* Default to success */
    transform: translateX(110%);
    transition: transform 0.35s ease-out, opacity 0.35s ease;
    opacity: 0;
    overflow: hidden;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-header {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0; /* Separator line */
    background: transparent;
}

.toast-body {
    padding: 12px 15px 15px 15px;
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.toast-title {
    font-weight: 600;
    color: #343a40;
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-title i {
    font-size: 1.2rem;
}

.toast-close {
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    color: #adb5bd;
    cursor: pointer;
    font-size: 1.6rem;
    font-weight: 300;
    line-height: 1;
    padding: 0.25rem 0.5rem;
    opacity: 0.8;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #343a40;
}

.toast.success { border-left-color: #28a745; }
.toast.success .toast-title i { color: #28a745; }

.toast.error { border-left-color: #dc3545; }
.toast.error .toast-title i { color: #dc3545; }

.toast.warning { border-left-color: #ffc107; }
.toast.warning .toast-title i { color: #ffc107; }

.toast.info { border-left-color: #17a2b8; }
.toast.info .toast-title i { color: #17a2b8; } 