/* Toast/Alert Styles */
.toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
}

.toast-message {
    display: flex;
    align-items: flex-start;
    min-width: 300px;
    max-width: 400px;
    padding: 16px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(120%);
    transition: all 0.3s ease;
    pointer-events: auto;
    opacity: 0;
    border-left: 4px solid;
}

.toast-message.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-message.success {
    border-left-color: #10B981;
    background: #F0FDF4;
}

.toast-message.error {
    border-left-color: #EF4444;
    background: #FEF2F2;
}

.toast-content {
    flex: 1;
    margin-left: 12px;
}

.toast-title {
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.toast-description {
    color: #374151;
    font-size: 0.875rem;
}

.toast-icon {
    margin-right: 12px;
    font-size: 20px;
}

.toast-message.success .toast-icon {
    color: #10B981;
}

.toast-message.error .toast-icon {
    color: #EF4444;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
    color: #1F2937;
}

.toast-description {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    padding: 4px;
    margin-left: 8px;
    cursor: pointer;
    color: #9CA3AF;
    transition: color 0.2s;
}

.toast-close:hover {
    color: #4B5563;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
}

.toast-progress-bar {
    height: 100%;
    background: currentColor;
    transition: width 3s linear;
}

.toast-message.success .toast-progress-bar {
    color: #10B981;
}

.toast-message.error .toast-progress-bar {
    color: #EF4444;
}
