/* Professional Alert Styles */
.custom-alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.custom-alert {
    min-width: 300px;
    max-width: 450px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.custom-alert.show {
    transform: translateX(0);
}

.custom-alert::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
}

.custom-alert-success::before { background-color: #2ecc71; }
.custom-alert-error::before { background-color: #e74c3c; }
.custom-alert-warning::before { background-color: #f1c40f; }
.custom-alert-info::before { background-color: #3498db; }

.custom-alert-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.custom-alert-success .custom-alert-icon { color: #2ecc71; }
.custom-alert-error .custom-alert-icon { color: #e74c3c; }
.custom-alert-warning .custom-alert-icon { color: #f1c40f; }
.custom-alert-info .custom-alert-icon { color: #3498db; }

.custom-alert-content {
    flex-grow: 1;
}

.custom-alert-message {
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.custom-alert-close {
    cursor: pointer;
    color: #ccc;
    transition: color 0.2s;
    font-size: 18px;
    padding: 5px;
}

.custom-alert-close:hover {
    color: #999;
}

/* Progress bar */
.custom-alert-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(0,0,0,0.05);
}

.custom-alert-progress-bar {
    height: 100%;
    width: 100%;
}

.custom-alert-success .custom-alert-progress-bar { background-color: #2ecc71; }
.custom-alert-error .custom-alert-progress-bar { background-color: #e74c3c; }
.custom-alert-warning .custom-alert-progress-bar { background-color: #f1c40f; }
.custom-alert-info .custom-alert-progress-bar { background-color: #3498db; }
