/* Alert Modern Component Styles */

.alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.alert-modern {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 400px;
    max-width: 500px;
    padding: 20px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
    position: relative;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 20px;
}

.alert-content {
    flex: 1;
    padding-top: 2px;
}

.alert-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}

.alert-message {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.alert-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    padding: 4px;
    transition: color 0.2s;
    line-height: 1;
}

.alert-close:hover {
    color: #333;
}

/* Success Alert */
.alert-success {
    border-left: 4px solid #4caf50;
}

.alert-success .alert-icon {
    background: #e8f5e9;
    color: #4caf50;
}

.alert-success .alert-title {
    color: #2e7d32;
}

/* Error Alert */
.alert-error {
    border-left: 4px solid #f44336;
}

.alert-error .alert-icon {
    background: #ffebee;
    color: #f44336;
}

.alert-error .alert-title {
    color: #c62828;
}

/* Warning Alert */
.alert-warning {
    border-left: 4px solid #ff9800;
}

.alert-warning .alert-icon {
    background: #fff3e0;
    color: #ff9800;
}

.alert-warning .alert-title {
    color: #e65100;
}

/* Info Alert */
.alert-info {
    border-left: 4px solid #2196f3;
}

.alert-info .alert-icon {
    background: #e3f2fd;
    color: #2196f3;
}

.alert-info .alert-title {
    color: #1565c0;
}

/* Responsive */
@media (max-width: 768px) {
    .alert-modern {
        min-width: 320px;
        max-width: 90%;
        padding: 16px 20px;
    }

    .alert-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .alert-title {
        font-size: 15px;
    }

    .alert-message {
        font-size: 13px;
    }
}
