.alert-message {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 450px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
    overflow: hidden;
}

.alert-message.show {
    transform: translateX(0);
}

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

.alert-content i {
    font-size: 24px;
    padding-top: 2px;
}

.success-message i {
    color: #06d6a0;
}

.error-message i {
    color: #ef476f;
}

.alert-text {
    flex: 1;
}

.alert-text h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
}

.alert-text p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.alert-progress {
    height: 3px;
    width: 100%;
}

.success-message .alert-progress {
    background: #06d6a0;
}

.error-message .alert-progress {
    background: #ef476f;
}

@keyframes progress {
    0% {
        width: 100%;
    }
    100% {
        width: 0%;
    }
}
